diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /kcontrol/taskbar/kcmtaskbar.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/taskbar/kcmtaskbar.cpp')
-rw-r--r-- | kcontrol/taskbar/kcmtaskbar.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kcontrol/taskbar/kcmtaskbar.cpp b/kcontrol/taskbar/kcmtaskbar.cpp index 053330367..2429b59bc 100644 --- a/kcontrol/taskbar/kcmtaskbar.cpp +++ b/kcontrol/taskbar/kcmtaskbar.cpp @@ -151,7 +151,7 @@ TQStringList TaskbarConfig::i18nShowTaskStatesList() } TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringList& args) - : KCModule(TaskBarFactory::instance(), parent, name), + : TDECModule(TaskBarFactory::instance(), parent, name), m_settingsObject(NULL) { TQVBoxLayout *layout = new TQVBoxLayout(this, 0, KDialog::spacingHint()); @@ -175,8 +175,8 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL TQFile configFile(locateLocal("config", m_configFileName)); if (!configFile.exists()) { - KConfig globalConfig(GLOBAL_TASKBAR_CONFIG_FILE_NAME, TRUE, TRUE); - KConfig localConfig(m_configFileName); + TDEConfig globalConfig(GLOBAL_TASKBAR_CONFIG_FILE_NAME, TRUE, TRUE); + TDEConfig localConfig(m_configFileName); globalConfig.copyTo(m_configFileName, &localConfig); localConfig.sync(); } @@ -243,7 +243,7 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL I18N_NOOP("(c) 2000 - 2001 Matthias Elter")); about->addAuthor("Matthias Elter", 0, "elter@kde.org"); - about->addCredit("Stefan Nikolaus", I18N_NOOP("KConfigXT conversion"), + about->addCredit("Stefan Nikolaus", I18N_NOOP("TDEConfigXT conversion"), "stefan.nikolaus@kdemail.net"); setAboutData(about); @@ -261,8 +261,8 @@ TaskbarConfig::~TaskbarConfig() void TaskbarConfig::slotReloadConfigurationFromGlobals() { - KConfig globalConfig(GLOBAL_TASKBAR_CONFIG_FILE_NAME, TRUE, TRUE); - KConfig localConfig(m_configFileName); + TDEConfig globalConfig(GLOBAL_TASKBAR_CONFIG_FILE_NAME, TRUE, TRUE); + TDEConfig localConfig(m_configFileName); globalConfig.copyTo(m_configFileName, &localConfig); localConfig.sync(); m_settingsObject->readConfig(); @@ -338,7 +338,7 @@ void TaskbarConfig::appearanceChanged(int selected) void TaskbarConfig::load() { - KCModule::load(); + TDECModule::load(); slotUpdateComboBox(); updateAppearanceCombo(); m_widget->showAllScreens->setChecked(!m_settingsObject->showCurrentScreenOnly()); @@ -354,7 +354,7 @@ void TaskbarConfig::save() m_settingsObject->writeConfig(); } - KCModule::save(); + TDECModule::save(); TQByteArray data; kapp->dcopClient()->emitDCOPSignal("kdeTaskBarConfigChanged()", data); @@ -362,7 +362,7 @@ void TaskbarConfig::save() void TaskbarConfig::defaults() { - KCModule::defaults(); + TDECModule::defaults(); slotUpdateComboBox(); updateAppearanceCombo(); } |