summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/pocompendium
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/modules/pocompendium')
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp4
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp6
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pwidget.ui28
3 files changed, 19 insertions, 19 deletions
diff --git a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp
index f5c37dd5..edc38dc0 100644
--- a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp
@@ -109,7 +109,7 @@ bool CompendiumData::load(KURL url)
if( (100*(i+1))%total < 100 )
{
emit progress((100*(i+1))/total);
- kapp->processEvents(100);
+ kapp->tqprocessEvents(100);
}
// FIXME: shoudl care about plural forms
@@ -221,7 +221,7 @@ const TQValueList<int>* CompendiumData::textonlyDict(const TQString text) const
void CompendiumData::registerObject(TQObject *obj)
{
- if(!_registered.containsRef(obj))
+ if(!_registered.tqcontainsRef(obj))
_registered.append(obj);
}
diff --git a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
index 1911be72..dab127bf 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
@@ -369,7 +369,7 @@ bool PoCompendium::searchWords(const TQString& searchStr, uint pluralForm, TQPtr
emit progress( (50*checkCounter+1)/catalogInfo.total);
}
- kapp->processEvents(100);
+ kapp->tqprocessEvents(100);
TQString origStr = data->catalog()->msgid(*it).first();
origStr = CompendiumData::simplify(origStr);
@@ -537,7 +537,7 @@ bool PoCompendium::searchNGram(const TQString& searchStr, uint pluralForm, TQPtr
continue;
}
- kapp->processEvents(100);
+ kapp->tqprocessEvents(100);
TQString origStr = data->catalog()->msgid(i).first();
origStr = CompendiumData::simplify(origStr);
@@ -1204,7 +1204,7 @@ void PoCompendium::registerData()
void PoCompendium::removeData()
{
- const TQObject *s=sender();
+ const TQObject *s=TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()));
if(s && s->inherits("CompendiumData"))
{
const CompendiumData *d=static_cast<const CompendiumData*>(s);
diff --git a/kbabel/kbabeldict/modules/pocompendium/pwidget.ui b/kbabel/kbabeldict/modules/pocompendium/pwidget.ui
index f1883a88..f9558dc3 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pwidget.ui
+++ b/kbabel/kbabeldict/modules/pocompendium/pwidget.ui
@@ -2,7 +2,7 @@
<class>CompendiumPWidget</class>
<include location="global">kseparator.h</include>
<widget>
- <class>QWidget</class>
+ <class>TQWidget</class>
<property stdset="1">
<name>name</name>
<cstring>PWidget</cstring>
@@ -30,7 +30,7 @@
<number>6</number>
</property>
<widget>
- <class>QGroupBox</class>
+ <class>TQGroupBox</class>
<property stdset="1">
<name>name</name>
<cstring>GroupBox1</cstring>
@@ -58,7 +58,7 @@
</vbox>
</widget>
<widget>
- <class>QButtonGroup</class>
+ <class>TQButtonGroup</class>
<property stdset="1">
<name>name</name>
<cstring>ButtonGroup1</cstring>
@@ -77,7 +77,7 @@
<number>6</number>
</property>
<widget>
- <class>QLayoutWidget</class>
+ <class>TQLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout4</cstring>
@@ -92,7 +92,7 @@
<number>6</number>
</property>
<widget row="1" column="0" >
- <class>QCheckBox</class>
+ <class>TQCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>fuzzyBtn</cstring>
@@ -103,7 +103,7 @@
</property>
</widget>
<widget row="0" column="1" >
- <class>QCheckBox</class>
+ <class>TQCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>wholeBtn</cstring>
@@ -114,7 +114,7 @@
</property>
</widget>
<widget row="0" column="0" >
- <class>QCheckBox</class>
+ <class>TQCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>caseBtn</cstring>
@@ -138,7 +138,7 @@
</property>
</widget>
<widget>
- <class>QLabel</class>
+ <class>TQLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel3</cstring>
@@ -149,7 +149,7 @@
</property>
</widget>
<widget>
- <class>QLayoutWidget</class>
+ <class>TQLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout3</cstring>
@@ -164,7 +164,7 @@
<number>6</number>
</property>
<widget row="0" column="0" >
- <class>QCheckBox</class>
+ <class>TQCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>equalBtn</cstring>
@@ -175,7 +175,7 @@
</property>
</widget>
<widget row="2" column="1" >
- <class>QCheckBox</class>
+ <class>TQCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>hasWordBtn</cstring>
@@ -186,7 +186,7 @@
</property>
</widget>
<widget row="1" column="1" >
- <class>QCheckBox</class>
+ <class>TQCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>isContainedBtn</cstring>
@@ -197,7 +197,7 @@
</property>
</widget>
<widget row="1" column="0" >
- <class>QCheckBox</class>
+ <class>TQCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>ngramBtn</cstring>
@@ -208,7 +208,7 @@
</property>
</widget>
<widget row="0" column="1" >
- <class>QCheckBox</class>
+ <class>TQCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>containsBtn</cstring>