summaryrefslogtreecommitdiffstats
path: root/kcontrol/randr/krandrmodule.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:30:47 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /kcontrol/randr/krandrmodule.cpp
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kcontrol/randr/krandrmodule.cpp')
-rw-r--r--kcontrol/randr/krandrmodule.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kcontrol/randr/krandrmodule.cpp b/kcontrol/randr/krandrmodule.cpp
index 03a063f4d..474bc0416 100644
--- a/kcontrol/randr/krandrmodule.cpp
+++ b/kcontrol/randr/krandrmodule.cpp
@@ -64,7 +64,7 @@ extern "C"
void KRandRModule::performApplyOnStartup()
{
- KConfig config("kcmrandrrc", true);
+ TDEConfig config("kcmrandrrc", true);
if (RandRDisplay::applyOnStartup(config))
{
// Load settings and apply appropriate config
@@ -75,7 +75,7 @@ void KRandRModule::performApplyOnStartup()
}
KRandRModule::KRandRModule(TQWidget *parent, const char *name, const TQStringList&)
- : KCModule(parent, name)
+ : TDECModule(parent, name)
, m_changed(false)
{
if (!isValid()) {
@@ -146,7 +146,7 @@ KRandRModule::KRandRModule(TQWidget *parent, const char *name, const TQStringLis
slotScreenChanged(TQApplication::desktop()->primaryScreen());
- setButtons(KCModule::Apply);
+ setButtons(TDECModule::Apply);
}
void KRandRModule::addRotationButton(int thisRotation, bool checkbox)
@@ -272,7 +272,7 @@ void KRandRModule::load( bool useDefaults )
// It will be correct already if they wanted to retain their settings over TDE restarts,
// and if it isn't correct they have changed a) their X configuration, b) the screen
// with another program, or c) their hardware.
- KConfig config("kcmrandrrc", true);
+ TDEConfig config("kcmrandrrc", true);
config.setReadDefaults( useDefaults );
@@ -294,7 +294,7 @@ void KRandRModule::save()
m_oldApply = m_applyOnStartup->isChecked();
m_oldSyncTrayApp = m_syncTrayApp->isChecked();
- KConfig config("kcmrandrrc");
+ TDEConfig config("kcmrandrrc");
saveDisplay(config, m_oldApply, m_oldSyncTrayApp);
setChanged();