diff options
Diffstat (limited to 'kded')
-rw-r--r-- | kded/kdedmodule.cpp | 8 | ||||
-rw-r--r-- | kded/kdedmodule.h | 4 | ||||
-rw-r--r-- | kded/test/test.cpp | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/kded/kdedmodule.cpp b/kded/kdedmodule.cpp index 6371b2534..61da755b3 100644 --- a/kded/kdedmodule.cpp +++ b/kded/kdedmodule.cpp @@ -26,7 +26,7 @@ #include "kdedmodule.h" #include "tdeconfigdata.h" -typedef TQMap<KEntryKey, KSharedPtr<KShared> > KDEDObjectMap; +typedef TQMap<KEntryKey, TDESharedPtr<TDEShared> > KDEDObjectMap; class KDEDModulePrivate { @@ -62,7 +62,7 @@ void KDEDModule::resetIdle() d->timer.start(d->timeout, true); } -void KDEDModule::insert(const TQCString &app, const TQCString &key, KShared *obj) +void KDEDModule::insert(const TQCString &app, const TQCString &key, TDEShared *obj) { if (!d->objMap) d->objMap = new KDEDObjectMap; @@ -74,13 +74,13 @@ void KDEDModule::insert(const TQCString &app, const TQCString &key, KShared *obj KEntryKey indexKey(app, key); // Prevent deletion in case the same object is inserted again. - KSharedPtr<KShared> _obj = obj; + TDESharedPtr<TDEShared> _obj = obj; d->objMap->replace(indexKey, _obj); resetIdle(); } -KShared * KDEDModule::find(const TQCString &app, const TQCString &key) +TDEShared * KDEDModule::find(const TQCString &app, const TQCString &key) { if (!d->objMap) return 0; diff --git a/kded/kdedmodule.h b/kded/kdedmodule.h index 855a02824..f3954e842 100644 --- a/kded/kdedmodule.h +++ b/kded/kdedmodule.h @@ -91,12 +91,12 @@ public: * Any previous object inserted with the same values for @p app * and @p key will be removed. */ - void insert(const TQCString &app, const TQCString &key, KShared *obj); + void insert(const TQCString &app, const TQCString &key, TDEShared *obj); /** * Lookup object indexed with @p app and @p key */ - KShared *find(const TQCString &app, const TQCString &key); + TDEShared *find(const TQCString &app, const TQCString &key); /** * remove object indexed with @p app and @p key. diff --git a/kded/test/test.cpp b/kded/test/test.cpp index e99eb1421..8d2aa91b9 100644 --- a/kded/test/test.cpp +++ b/kded/test/test.cpp @@ -1,6 +1,6 @@ #include "test.h" -class TestObject : public KShared +class TestObject : public TDEShared { public: TestObject(const TQCString &_app) : app(_app) |