summaryrefslogtreecommitdiffstats
path: root/kvoctrain/kvoctrain/common-dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'kvoctrain/kvoctrain/common-dialogs')
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/ProgressDlgForm.ui6
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/blockoptions.cpp6
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/blockoptionsbase.ui4
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/generaloptionsbase.ui2
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/groupoptionsbase.ui4
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/kvoctrainprefs.cpp2
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/languageoptions.cpp54
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/languageoptionsbase.ui12
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/pasteoptionsbase.ui8
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/queryoptionsbase.ui14
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/thresholdoptionsbase.ui8
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/viewoptionsbase.ui2
12 files changed, 61 insertions, 61 deletions
diff --git a/kvoctrain/kvoctrain/common-dialogs/ProgressDlgForm.ui b/kvoctrain/kvoctrain/common-dialogs/ProgressDlgForm.ui
index 76550b4a..6fe8b52a 100644
--- a/kvoctrain/kvoctrain/common-dialogs/ProgressDlgForm.ui
+++ b/kvoctrain/kvoctrain/common-dialogs/ProgressDlgForm.ui
@@ -12,7 +12,7 @@
<height>127</height>
</rect>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>400</width>
<height>120</height>
@@ -110,7 +110,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -129,7 +129,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>340</width>
<height>22</height>
diff --git a/kvoctrain/kvoctrain/common-dialogs/blockoptions.cpp b/kvoctrain/kvoctrain/common-dialogs/blockoptions.cpp
index 26834bea..88df5b53 100644
--- a/kvoctrain/kvoctrain/common-dialogs/blockoptions.cpp
+++ b/kvoctrain/kvoctrain/common-dialogs/blockoptions.cpp
@@ -251,7 +251,7 @@ void BlockOptions::checkValidity()
if (!found)
message.append(i18n("Illogical blocking times.\n"));
found = true;
- message.append(i18n("The time for level %1 should be lower than the time for level %2.\n").arg(i).arg(i + 1));
+ message.append(i18n("The time for level %1 should be lower than the time for level %2.\n").tqarg(i).tqarg(i + 1));
}
}
}
@@ -270,7 +270,7 @@ void BlockOptions::checkValidity()
if (!found)
message.append(i18n("\nIllogical expiration times.\n"));
found = true;
- message.append(i18n("The time for level %1 should be lower than the time for level %2.\n").arg(i).arg(i + 1));
+ message.append(i18n("The time for level %1 should be lower than the time for level %2.\n").tqarg(i).tqarg(i + 1));
}
}
}
@@ -290,7 +290,7 @@ void BlockOptions::checkValidity()
if (!found)
message.append(i18n("\nIllogical blocking vs. expiration times.\n"));
found = true;
- message.append(i18n("The blocking time at level %1 should be lower than the expiration time.\n").arg(i + 1));
+ message.append(i18n("The blocking time at level %1 should be lower than the expiration time.\n").tqarg(i + 1));
}
}
}
diff --git a/kvoctrain/kvoctrain/common-dialogs/blockoptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/blockoptionsbase.ui
index 2c8112e5..e64f19a2 100644
--- a/kvoctrain/kvoctrain/common-dialogs/blockoptionsbase.ui
+++ b/kvoctrain/kvoctrain/common-dialogs/blockoptionsbase.ui
@@ -190,7 +190,7 @@
<property name="sizeType">
<enum>Minimum</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -241,7 +241,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>380</width>
<height>30</height>
diff --git a/kvoctrain/kvoctrain/common-dialogs/generaloptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/generaloptionsbase.ui
index 48897be5..d64fb69a 100644
--- a/kvoctrain/kvoctrain/common-dialogs/generaloptionsbase.ui
+++ b/kvoctrain/kvoctrain/common-dialogs/generaloptionsbase.ui
@@ -165,7 +165,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>51</width>
<height>123</height>
diff --git a/kvoctrain/kvoctrain/common-dialogs/groupoptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/groupoptionsbase.ui
index e19951b2..937e8a75 100644
--- a/kvoctrain/kvoctrain/common-dialogs/groupoptionsbase.ui
+++ b/kvoctrain/kvoctrain/common-dialogs/groupoptionsbase.ui
@@ -32,7 +32,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
- <cstring>layout1</cstring>
+ <cstring>tqlayout1</cstring>
</property>
<hbox>
<property name="name">
@@ -127,7 +127,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>150</width>
<height>16</height>
diff --git a/kvoctrain/kvoctrain/common-dialogs/kvoctrainprefs.cpp b/kvoctrain/kvoctrain/common-dialogs/kvoctrainprefs.cpp
index 69f2d3bc..73db49ce 100644
--- a/kvoctrain/kvoctrain/common-dialogs/kvoctrainprefs.cpp
+++ b/kvoctrain/kvoctrain/common-dialogs/kvoctrainprefs.cpp
@@ -17,7 +17,7 @@
***************************************************************************/
#include <tqwidgetstack.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqradiobutton.h>
#include <tqcheckbox.h>
#include <tqlistview.h>
diff --git a/kvoctrain/kvoctrain/common-dialogs/languageoptions.cpp b/kvoctrain/kvoctrain/common-dialogs/languageoptions.cpp
index f3568543..d0715a1d 100644
--- a/kvoctrain/kvoctrain/common-dialogs/languageoptions.cpp
+++ b/kvoctrain/kvoctrain/common-dialogs/languageoptions.cpp
@@ -689,7 +689,7 @@ LanguageOptions::LanguageOptions(LangSet & langset, TQWidget* parent, const char
connect(d_shortName, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotShortActivated(const TQString&)));
connect(e_langLong, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotLangChanged(const TQString&)));
connect(e_shortName2, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotShort2Changed(const TQString&)));
- connect(d_kblayout, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotKeyboardLayoutChanged(const TQString&)));
+ connect(d_kbtqlayout, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotKeyboardLayoutChanged(const TQString&)));
// Load the languages first, then the countries and create the
// menus for the languages last, so they will have flags
@@ -768,13 +768,13 @@ void LanguageOptions::slotDeleteClicked()
enableLangWidgets();
// doesn't work yet
- if (d_shortName->count() != 0 && d_kblayout->isEnabled())
+ if (d_shortName->count() != 0 && d_kbtqlayout->isEnabled())
{
- for (int i = 0; i < d_kblayout->count(); i++)
+ for (int i = 0; i < d_kbtqlayout->count(); i++)
{
- if (d_kblayout->text(i) == m_langSet.keyboardLayout(d_shortName->currentItem()))
+ if (d_kbtqlayout->text(i) == m_langSet.keyboardLayout(d_shortName->currentItem()))
{
- d_kblayout->setCurrentItem(i);
+ d_kbtqlayout->setCurrentItem(i);
break;
}
}
@@ -782,9 +782,9 @@ void LanguageOptions::slotDeleteClicked()
}
-void LanguageOptions::slotKeyboardLayoutChanged(const TQString& layout)
+void LanguageOptions::slotKeyboardLayoutChanged(const TQString& tqlayout)
{
- m_langSet.setKeyboardLayout(layout, d_shortName->currentItem());
+ m_langSet.setKeyboardLayout(tqlayout, d_shortName->currentItem());
emit widgetModified();
m_hasChanged = true;
}
@@ -818,16 +818,16 @@ void LanguageOptions::enableLangWidgets()
TQDataStream stream(replyData, IO_ReadOnly);
stream >> layouts;
layouts.prepend(TQString());
- d_kblayout->clear();
- d_kblayout->insertStringList(layouts);
+ d_kbtqlayout->clear();
+ d_kbtqlayout->insertStringList(layouts);
}
}
}
else
{
//kdDebug() << "kxkb not enabled" << endl;
- d_kblayout->clear();
- d_kblayout->setEnabled(false);
+ d_kbtqlayout->clear();
+ d_kbtqlayout->setEnabled(false);
}
}
@@ -898,22 +898,22 @@ void LanguageOptions::slotShortActivated(const TQString& _id)
else
b_langPixmap->setText (i18n("No Picture Selected"));
- TQString layout = m_langSet.keyboardLayout(d_shortName->currentItem());
+ TQString tqlayout = m_langSet.keyboardLayout(d_shortName->currentItem());
- //kdDebug() << "layout to select " << layout << endl;
+ //kdDebug() << "tqlayout to select " << tqlayout << endl;
- for (int i = 0; i < d_kblayout->count(); i++)
+ for (int i = 0; i < d_kbtqlayout->count(); i++)
{
- if (d_kblayout->text(i) == layout)
+ if (d_kbtqlayout->text(i) == tqlayout)
{
- d_kblayout->setCurrentItem(i);
+ d_kbtqlayout->setCurrentItem(i);
break;
}
}
// not found
- if (d_kblayout->currentText() != layout)
+ if (d_kbtqlayout->currentText() != tqlayout)
{
- d_kblayout->setCurrentItem(0);
+ d_kbtqlayout->setCurrentItem(0);
}
}
}
@@ -1015,8 +1015,8 @@ void LanguageOptions::loadCountryData()
locale.setLanguage(curr_lang);
KGlobal::_locale = &locale;
- TQString sub = TQString::fromLatin1("l10n/");
- TQStringList regionlist = KGlobal::dirs()->findAllResources("locale", sub + TQString::fromLatin1("*.desktop"));
+ TQString sub = TQString::tqfromLatin1("l10n/");
+ TQStringList regionlist = KGlobal::dirs()->findAllResources("locale", sub + TQString::tqfromLatin1("*.desktop"));
regionlist.sort();
TQMap<TQString, Region> regions;
@@ -1033,22 +1033,22 @@ void LanguageOptions::loadCountryData()
if (index != -1) tag.truncate(index);
KSimpleConfig entry(*it);
- entry.setGroup(TQString::fromLatin1("KCM Locale"));
- TQString name = entry.readEntry(TQString::fromLatin1("Name"), i18n("without name"));
+ entry.setGroup(TQString::tqfromLatin1("KCM Locale"));
+ TQString name = entry.readEntry(TQString::tqfromLatin1("Name"), i18n("without name"));
regions.insert(tag, Region(name));
}
// add all languages to the list
- TQStringList countrylist = KGlobal::dirs()->findAllResources("locale", sub + TQString::fromLatin1("*/entry.desktop"));
+ TQStringList countrylist = KGlobal::dirs()->findAllResources("locale", sub + TQString::tqfromLatin1("*/entry.desktop"));
int idx = 0;
for (TQStringList::ConstIterator sit = countrylist.begin(); sit != countrylist.end(); ++sit)
{
KSimpleConfig entry(*sit);
- entry.setGroup(TQString::fromLatin1("KCM Locale"));
- TQString name = entry.readEntry(TQString::fromLatin1("Name"), i18n("without name"));
- TQString submenu = entry.readEntry(TQString::fromLatin1("Region"));
+ entry.setGroup(TQString::tqfromLatin1("KCM Locale"));
+ TQString name = entry.readEntry(TQString::tqfromLatin1("Name"), i18n("without name"));
+ TQString submenu = entry.readEntry(TQString::tqfromLatin1("Region"));
TQString tag = *sit;
int index = tag.findRev('/');
@@ -1059,7 +1059,7 @@ void LanguageOptions::loadCountryData()
if (tag == "C")
continue;
- TQStringList all_langs = TQStringList::split(",", entry.readEntry(TQString::fromLatin1("Languages")));
+ TQStringList all_langs = TQStringList::split(",", entry.readEntry(TQString::tqfromLatin1("Languages")));
TQValueList<int> langs;
TQString pixmap = *sit;
diff --git a/kvoctrain/kvoctrain/common-dialogs/languageoptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/languageoptionsbase.ui
index 23057407..12b3b98e 100644
--- a/kvoctrain/kvoctrain/common-dialogs/languageoptionsbase.ui
+++ b/kvoctrain/kvoctrain/common-dialogs/languageoptionsbase.ui
@@ -93,7 +93,7 @@
</widget>
<widget class="KComboBox" row="4" column="1">
<property name="name">
- <cstring>d_kblayout</cstring>
+ <cstring>d_kbtqlayout</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Select a language or use the Add New Language Code to add one.</string>
@@ -205,7 +205,7 @@
</widget>
<widget class="TQLabel" row="4" column="0">
<property name="name">
- <cstring>label_kblayout</cstring>
+ <cstring>label_kbtqlayout</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
@@ -216,10 +216,10 @@
</sizepolicy>
</property>
<property name="text">
- <string>Keyboard layout:</string>
+ <string>Keyboard tqlayout:</string>
</property>
<property name="buddy" stdset="0">
- <cstring>d_kblayout</cstring>
+ <cstring>d_kbtqlayout</cstring>
</property>
<property name="toolTip" stdset="0">
<string>You can assign a language to each column</string>
@@ -323,7 +323,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>390</width>
<height>20</height>
@@ -337,7 +337,7 @@
<tabstop>e_shortName2</tabstop>
<tabstop>e_langLong</tabstop>
<tabstop>b_langPixmap</tabstop>
- <tabstop>d_kblayout</tabstop>
+ <tabstop>d_kbtqlayout</tabstop>
<tabstop>b_langDel</tabstop>
<tabstop>e_newName</tabstop>
<tabstop>b_langNew</tabstop>
diff --git a/kvoctrain/kvoctrain/common-dialogs/pasteoptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/pasteoptionsbase.ui
index 2524dc71..142ee7f5 100644
--- a/kvoctrain/kvoctrain/common-dialogs/pasteoptionsbase.ui
+++ b/kvoctrain/kvoctrain/common-dialogs/pasteoptionsbase.ui
@@ -37,7 +37,7 @@
<property name="name">
<cstring>SeparatorCombo</cstring>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>140</width>
<height>0</height>
@@ -60,7 +60,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>310</width>
<height>20</height>
@@ -145,7 +145,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>21</width>
<height>21</height>
@@ -164,7 +164,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>80</width>
<height>31</height>
diff --git a/kvoctrain/kvoctrain/common-dialogs/queryoptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/queryoptionsbase.ui
index 73da961e..3250b83e 100644
--- a/kvoctrain/kvoctrain/common-dialogs/queryoptionsbase.ui
+++ b/kvoctrain/kvoctrain/common-dialogs/queryoptionsbase.ui
@@ -242,7 +242,7 @@
<property name="sizeType">
<enum>Minimum</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>16</width>
<height>48</height>
@@ -261,7 +261,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>32767</width>
<height>32767</height>
@@ -290,7 +290,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>111</width>
<height>20</height>
@@ -309,7 +309,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>290</width>
<height>20</height>
@@ -390,7 +390,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
- <cstring>layout3</cstring>
+ <cstring>tqlayout3</cstring>
</property>
<grid>
<property name="name">
@@ -439,7 +439,7 @@
<property name="sizeType">
<enum>Minimum</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>83</width>
<height>20</height>
@@ -475,7 +475,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>200</width>
<height>16</height>
diff --git a/kvoctrain/kvoctrain/common-dialogs/thresholdoptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/thresholdoptionsbase.ui
index f653d9e1..788ff271 100644
--- a/kvoctrain/kvoctrain/common-dialogs/thresholdoptionsbase.ui
+++ b/kvoctrain/kvoctrain/common-dialogs/thresholdoptionsbase.ui
@@ -145,7 +145,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
- <cstring>layout8</cstring>
+ <cstring>tqlayout8</cstring>
</property>
<grid>
<property name="name">
@@ -209,7 +209,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>50</height>
@@ -226,7 +226,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>80</height>
@@ -285,7 +285,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>290</width>
<height>16</height>
diff --git a/kvoctrain/kvoctrain/common-dialogs/viewoptionsbase.ui b/kvoctrain/kvoctrain/common-dialogs/viewoptionsbase.ui
index 1729c84f..9c6b18e6 100644
--- a/kvoctrain/kvoctrain/common-dialogs/viewoptionsbase.ui
+++ b/kvoctrain/kvoctrain/common-dialogs/viewoptionsbase.ui
@@ -448,7 +448,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>61</width>
<height>20</height>