summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/tmx
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/modules/tmx')
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp6
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp4
2 files changed, 5 insertions, 5 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);
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp
index 739379e1..1cd033bc 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp
@@ -146,7 +146,7 @@ bool TmxCompendiumData::load(const KURL& url, const TQString& language)
if( (100*(i+1))%total < 100 )
{
emit progress((100*(i+1))/total);
- kapp->processEvents(100);
+ kapp->tqprocessEvents(100);
}
TQDomNodeList tuvTags = tuTags.item(i).toElement().elementsByTagName("tuv");
@@ -268,7 +268,7 @@ const TQString TmxCompendiumData::msgstr(const int index) const
void TmxCompendiumData::registerObject(TQObject *obj)
{
- if(!_registered.containsRef(obj))
+ if(!_registered.tqcontainsRef(obj))
_registered.append(obj);
}