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
@@ -242,9 +242,9 @@ class Manager : private ManagerImplListener
242 } 242 }
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 /**
250 Creates a new resource of type @param type, with default 250 Creates a new resource of type @param type, with default
@@ -301,31 +301,29 @@ class Manager : private ManagerImplListener
301 } 301 }
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() )
309 listener->resourceAdded( resource ); 308 listener->resourceAdded( resource );
310 } 309 }
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() )
318 listener->resourceModified( resource ); 317 listener->resourceModified( resource );
319 } 318 }
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 }
331 329