diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /kcontrol/kthememanager/kthememanager.cpp | |
parent | 79b21d47bce1ee428affc97534cd8b257232a871 (diff) | |
download | tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kcontrol/kthememanager/kthememanager.cpp')
-rw-r--r-- | kcontrol/kthememanager/kthememanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kcontrol/kthememanager/kthememanager.cpp b/kcontrol/kthememanager/kthememanager.cpp index 5489aedbf..f4b7835bb 100644 --- a/kcontrol/kthememanager/kthememanager.cpp +++ b/kcontrol/kthememanager/kthememanager.cpp @@ -43,7 +43,7 @@ #include "config.h" kthememanager::kthememanager( TQWidget *parent, const char *name ) - : KCModule( parent, name ), m_theme( 0 ), m_origTheme( 0 ) + : TDECModule( parent, name ), m_theme( 0 ), m_origTheme( 0 ) { TDEAboutData *about = new TDEAboutData("kthememanager", I18N_NOOP("TDE Theme Manager"), @@ -56,7 +56,7 @@ kthememanager::kthememanager( TQWidget *parent, const char *name ) setQuickHelp( i18n("This control module handles installing, removing and " "creating visual TDE themes.")); - setButtons( KCModule::Default|KCModule::Apply|KCModule::Help ); + setButtons( TDECModule::Default|TDECModule::Apply|TDECModule::Help ); setAcceptDrops( true ); init(); @@ -130,7 +130,7 @@ void kthememanager::load(bool useDefaults) listThemes(); // Load the current theme name - KConfig conf("kcmthememanagerrc", false, false); + TDEConfig conf("kcmthememanagerrc", false, false); conf.setReadDefaults( useDefaults ); @@ -164,7 +164,7 @@ void kthememanager::save() m_theme->apply(); // Save the current theme name - KConfig conf("kcmthememanagerrc", false, false); + TDEConfig conf("kcmthememanagerrc", false, false); conf.setGroup( "General" ); conf.writeEntry( "CurrentTheme", themeName ); conf.sync(); @@ -415,7 +415,7 @@ void kthememanager::updatePreview( const TQString & pixFile ) extern "C" { - KDE_EXPORT KCModule *create_kthememanager(TQWidget *parent, const char *) + KDE_EXPORT TDECModule *create_kthememanager(TQWidget *parent, const char *) { TDEGlobal::locale()->insertCatalogue( "kthememanager" ); return new kthememanager( parent, "kthememanager" ); |