summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp')
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
index fd5fcd29..f375574c 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
@@ -337,7 +337,7 @@ bool TmxCompendium::startSearch(const TQString& text, uint pluralForm, const Sea
emit progress( (100*(checkCounter+1))/data->numberOfEntries());
}
- kapp->processEvents(100);
+ kapp->tqprocessEvents(100);
TQString origStr = data->msgid(*it);
origStr = TmxCompendiumData::simplify(origStr);
@@ -484,7 +484,7 @@ bool TmxCompendium::startSearch(const TQString& text, uint pluralForm, const Sea
continue;
}
- kapp->processEvents(100);
+ kapp->tqprocessEvents(100);
if(i >= data->numberOfEntries())
{
@@ -965,7 +965,7 @@ void TmxCompendium::registerData()
void TmxCompendium::removeData()
{
- const TQObject *s=sender();
+ const TQObject *s=TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()));
if(s && s->inherits("TmxCompendiumData"))
{
const TmxCompendiumData *d=static_cast<const TmxCompendiumData*>(s);