author | zautrix <zautrix> | 2005-01-11 11:09:13 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-11 11:09:13 (UTC) |
commit | 7738615474fd5186928e3f4dcdc58b483f7ad1a9 (patch) (unidiff) | |
tree | 34bb0612d606f083a6b6591c76a8619c1c6b1edb /microkde | |
parent | 430d67f339232b6cf745840eaa2aaceb14bdc8c7 (diff) | |
download | kdepimpi-7738615474fd5186928e3f4dcdc58b483f7ad1a9.zip kdepimpi-7738615474fd5186928e3f4dcdc58b483f7ad1a9.tar.gz kdepimpi-7738615474fd5186928e3f4dcdc58b483f7ad1a9.tar.bz2 |
mayn fixes
-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 | |||
@@ -244,5 +244,5 @@ class Manager : private ManagerImplListener | |||
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 | ||
@@ -303,5 +303,4 @@ class Manager : private ManagerImplListener | |||
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; |
@@ -312,5 +311,5 @@ class Manager : private ManagerImplListener | |||
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; |
@@ -321,9 +320,8 @@ class Manager : private ManagerImplListener | |||
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 | } |