From cc74f360bb40da3d79f58048f8e8611804980aa6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:30:47 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kcontrol/randr/krandrmodule.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kcontrol/randr/krandrmodule.cpp') 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(); -- cgit v1.2.1