summaryrefslogtreecommitdiffabout
path: root/microkde/kresources
Unidiff
Diffstat (limited to 'microkde/kresources') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kresources/manager.h8
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
243 243
244 ConfigWidget *configWidget( const QString& type, QWidget *parent = 0 ) 244 ConfigWidget *configWidget( const QString& type, QWidget *parent = 0 )
245 { 245 {
246 return mFactory->resourceConfigWidget( type, parent ); 246 return mFactory->configWidget( type, parent );
247 } 247 }
248 248
249 /** 249 /**
@@ -302,7 +302,6 @@ class Manager : private ManagerImplListener
302 302
303 virtual void resourceAdded( Resource *res ) 303 virtual void resourceAdded( Resource *res )
304 { 304 {
305 kdDebug(5650) << "Manager::resourceAdded " << res->resourceName() << endl;
306 T* resource = (T *)( res ); 305 T* resource = (T *)( res );
307 ManagerListener<T> *listener; 306 ManagerListener<T> *listener;
308 for ( listener = mListeners->first(); listener; listener = mListeners->next() ) 307 for ( listener = mListeners->first(); listener; listener = mListeners->next() )
@@ -311,7 +310,7 @@ class Manager : private ManagerImplListener
311 310
312 virtual void resourceModified( Resource *res ) 311 virtual void resourceModified( Resource *res )
313 { 312 {
314 kdDebug(5650) << "Manager::resourceModified " << res->resourceName() << endl; 313
315 T* resource = (T *)( res ); 314 T* resource = (T *)( res );
316 ManagerListener<T> *listener; 315 ManagerListener<T> *listener;
317 for ( listener = mListeners->first(); listener; listener = mListeners->next() ) 316 for ( listener = mListeners->first(); listener; listener = mListeners->next() )
@@ -320,11 +319,10 @@ class Manager : private ManagerImplListener
320 319
321 virtual void resourceDeleted( Resource *res ) 320 virtual void resourceDeleted( Resource *res )
322 { 321 {
323 kdDebug(5650) << "Manager::resourceDeleted " << res->resourceName() << endl; 322
324 T* resource = (T *)( res ); 323 T* resource = (T *)( res );
325 ManagerListener<T> *listener; 324 ManagerListener<T> *listener;
326 for ( listener = mListeners->first(); listener; listener = mListeners->next() ) { 325 for ( listener = mListeners->first(); listener; listener = mListeners->next() ) {
327 kdDebug(5650) << "Notifying a listener to Manager..." << endl;
328 listener->resourceDeleted( resource ); 326 listener->resourceDeleted( resource );
329 } 327 }
330 } 328 }