diff options
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; |