diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-13 00:26:14 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-13 00:26:14 +0000 |
commit | e192d1b3be27a26e344ae48cc6aea31185fe0a99 (patch) | |
tree | 080c21ee8a1a1a496c0b37b2a8fcb3381de04cd2 /kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp | |
parent | 6e7b4925121d177e954df2cca45443cfd78bda40 (diff) | |
download | tdesdk-e192d1b3be27a26e344ae48cc6aea31185fe0a99.tar.gz tdesdk-e192d1b3be27a26e344ae48cc6aea31185fe0a99.zip |
Finish TQt4 porting of kdesdk (kbabel)
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236386 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp')
-rw-r--r-- | kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |