diff options
Diffstat (limited to 'kdecore/klibloader.cpp')
-rw-r--r-- | kdecore/klibloader.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdecore/klibloader.cpp b/kdecore/klibloader.cpp index e2f55fe67..80c5e6377 100644 --- a/kdecore/klibloader.cpp +++ b/kdecore/klibloader.cpp @@ -209,7 +209,7 @@ void KLibrary::slotObjectCreated( TQObject *obj ) if ( m_timer && m_timer->isActive() ) m_timer->stop(); - if ( m_objs.containsRef( obj ) ) + if ( m_objs.tqcontainsRef( obj ) ) return; // we know this object already connect( obj, TQT_SIGNAL( destroyed() ), @@ -220,7 +220,7 @@ void KLibrary::slotObjectCreated( TQObject *obj ) void KLibrary::slotObjectDestroyed() { - m_objs.removeRef( sender() ); + m_objs.removeRef( TQT_TQOBJECT_CONST(sender()) ); if ( m_objs.count() == 0 ) { @@ -337,10 +337,10 @@ static inline TQCString makeLibName( const char* name ) // only append ".la" if there is no extension // this allows to load non-libtool libraries as well // (mhk, 20000228) - int pos = libname.findRev('/'); + int pos = libname.tqfindRev('/'); if (pos < 0) pos = 0; - if (libname.find('.', pos) < 0) + if (libname.tqfind('.', pos) < 0) libname += ".la"; return libname; } @@ -500,7 +500,7 @@ void KLibLoader::slotLibraryDestroyed() void KLibLoader::close_pending(KLibWrapPrivate *wrap) { - if (wrap && !d->pending_close.containsRef( wrap )) + if (wrap && !d->pending_close.tqcontainsRef( wrap )) d->pending_close.append( wrap ); /* First delete all KLibrary objects in pending_close, but _don't_ unload @@ -534,7 +534,7 @@ void KLibLoader::close_pending(KLibWrapPrivate *wrap) /* Now ensure, that the libs are only unloaded in the reverse direction they were loaded. */ - if (!d->pending_close.containsRef( wrap )) { + if (!d->pending_close.tqcontainsRef( wrap )) { if (!deleted_one) /* Only diagnose, if we really haven't deleted anything. */ // kdDebug(150) << "try to dlclose " << wrap->name << ": not yet" << endl; |