diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 00:36:34 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 00:36:34 -0600 |
commit | 12f3d421cd2991c0e3f96994efb836ce244172ff (patch) | |
tree | 1e5bd5e8b7521fe66d77c13b7df45df7d5f6dcd6 /kded | |
parent | 21bc7541114fb026606284e45dc10e3320f39f1d (diff) | |
download | tdelibs-12f3d421cd2991c0e3f96994efb836ce244172ff.tar.gz tdelibs-12f3d421cd2991c0e3f96994efb836ce244172ff.zip |
Rename KShared
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) |