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 /tderesources | |
parent | 21bc7541114fb026606284e45dc10e3320f39f1d (diff) | |
download | tdelibs-12f3d421cd2991c0e3f96994efb836ce244172ff.tar.gz tdelibs-12f3d421cd2991c0e3f96994efb836ce244172ff.zip |
Rename KShared
Diffstat (limited to 'tderesources')
-rw-r--r-- | tderesources/configpage.cpp | 8 | ||||
-rw-r--r-- | tderesources/configpage.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tderesources/configpage.cpp b/tderesources/configpage.cpp index 5b574c593..5844dd97c 100644 --- a/tderesources/configpage.cpp +++ b/tderesources/configpage.cpp @@ -45,7 +45,7 @@ namespace KRES { -ResourcePageInfo::ResourcePageInfo() : KShared() { +ResourcePageInfo::ResourcePageInfo() : TDEShared() { mManager = 0L; mConfig = 0L; } @@ -153,7 +153,7 @@ ConfigPage::ConfigPage( TQWidget *parent, const char *name ) ConfigPage::~ConfigPage() { - TQValueList<KSharedPtr<ResourcePageInfo> >::Iterator it; + TQValueList<TDESharedPtr<ResourcePageInfo> >::Iterator it; for ( it = mInfoMap.begin(); it != mInfoMap.end(); ++it ) { (*it)->mManager->removeObserver( this ); } @@ -226,7 +226,7 @@ void ConfigPage::loadManager( const TQString& family ) info->mConfig = new TDEConfig( KRES::ManagerImpl::defaultConfigFile( family ) ); info->mManager->readConfig( info->mConfig ); - mInfoMap.append( KSharedPtr<ResourcePageInfo>(info) ); + mInfoMap.append( TDESharedPtr<ResourcePageInfo>(info) ); } } @@ -234,7 +234,7 @@ void ConfigPage::save() { saveResourceSettings(); - TQValueList<KSharedPtr<ResourcePageInfo> >::Iterator it; + TQValueList<TDESharedPtr<ResourcePageInfo> >::Iterator it; for ( it = mInfoMap.begin(); it != mInfoMap.end(); ++it ) (*it)->mManager->writeConfig( (*it)->mConfig ); diff --git a/tderesources/configpage.h b/tderesources/configpage.h index 35776763c..5f3819c0f 100644 --- a/tderesources/configpage.h +++ b/tderesources/configpage.h @@ -37,7 +37,7 @@ class TQPushButton; namespace KRES { -class TDERESOURCES_EXPORT ResourcePageInfo : public KShared +class TDERESOURCES_EXPORT ResourcePageInfo : public TDEShared { public: ResourcePageInfo(); @@ -93,7 +93,7 @@ class TDERESOURCES_EXPORT ConfigPage : public TQWidget, public ManagerObserver<R TDEConfig* mConfig; TQString mFamily; TQStringList mFamilyMap; - TQValueList<KSharedPtr<ResourcePageInfo> > mInfoMap; + TQValueList<TDESharedPtr<ResourcePageInfo> > mInfoMap; KComboBox* mFamilyCombo; KListView* mListView; |