-rw-r--r-- | microkde/kresources/manager.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/microkde/kresources/manager.h b/microkde/kresources/manager.h index 0e6f838..69062da 100644 --- a/microkde/kresources/manager.h +++ b/microkde/kresources/manager.h @@ -243,7 +243,7 @@ class Manager : private ManagerImplListener ConfigWidget *configWidget( const QString& type, QWidget *parent = 0 ) { - return mFactory->resourceConfigWidget( type, parent ); + return mFactory->configWidget( type, parent ); } /** @@ -302,7 +302,6 @@ class Manager : private ManagerImplListener virtual void resourceAdded( Resource *res ) { - kdDebug(5650) << "Manager::resourceAdded " << res->resourceName() << endl; T* resource = (T *)( res ); ManagerListener<T> *listener; for ( listener = mListeners->first(); listener; listener = mListeners->next() ) @@ -311,7 +310,7 @@ class Manager : private ManagerImplListener virtual void resourceModified( Resource *res ) { - kdDebug(5650) << "Manager::resourceModified " << res->resourceName() << endl; + T* resource = (T *)( res ); ManagerListener<T> *listener; for ( listener = mListeners->first(); listener; listener = mListeners->next() ) @@ -320,11 +319,10 @@ class Manager : private ManagerImplListener virtual void resourceDeleted( Resource *res ) { - kdDebug(5650) << "Manager::resourceDeleted " << res->resourceName() << endl; + T* resource = (T *)( res ); ManagerListener<T> *listener; for ( listener = mListeners->first(); listener; listener = mListeners->next() ) { - kdDebug(5650) << "Notifying a listener to Manager..." << endl; listener->resourceDeleted( resource ); } } |