diff options
Diffstat (limited to 'kdecore/kglobal.cpp')
-rw-r--r-- | kdecore/kglobal.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kdecore/kglobal.cpp b/kdecore/kglobal.cpp index b886d8d7f..347e8d31c 100644 --- a/kdecore/kglobal.cpp +++ b/kdecore/kglobal.cpp @@ -127,7 +127,7 @@ void KGlobal::setActiveInstance(KInstance *i) const TQString & KGlobal::staticQString(const char *str) { - return staticQString(TQString::fromLatin1(str)); + return staticQString(TQString::tqfromLatin1(str)); } class KStringDict : public TQDict<TQString> @@ -150,7 +150,7 @@ KGlobal::staticQString(const TQString &str) _stringDict->setAutoDelete( true ); kglobal_init(); } - TQString *result = _stringDict->find(str); + TQString *result = _stringDict->tqfind(str); if (!result) { result = new TQString(str); @@ -170,7 +170,7 @@ KGlobal::registerStaticDeleter(KStaticDeleterBase *obj) { if (!_staticDeleters) kglobal_init(); - if (_staticDeleters->find(obj) == -1) + if (_staticDeleters->tqfind(obj) == -1) _staticDeleters->append(obj); } |