summaryrefslogtreecommitdiffstats
path: root/kcontrol/smserver
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /kcontrol/smserver
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/smserver')
-rw-r--r--kcontrol/smserver/kcmsmserver.cpp6
-rw-r--r--kcontrol/smserver/kcmsmserver.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/kcontrol/smserver/kcmsmserver.cpp b/kcontrol/smserver/kcmsmserver.cpp
index 1a312034d..11c09baf7 100644
--- a/kcontrol/smserver/kcmsmserver.cpp
+++ b/kcontrol/smserver/kcmsmserver.cpp
@@ -37,7 +37,7 @@ typedef KGenericFactory<SMServerConfig, TQWidget > SMSFactory;
K_EXPORT_COMPONENT_FACTORY (kcm_smserver, SMSFactory("kcmsmserver") )
SMServerConfig::SMServerConfig( TQWidget *parent, const char* name, const TQStringList & )
- : KCModule (SMSFactory::instance(), parent, name)
+ : TDECModule (SMSFactory::instance(), parent, name)
{
setQuickHelp( i18n("<h1>Session Manager</h1>"
" You can configure the session manager here."
@@ -63,7 +63,7 @@ void SMServerConfig::load()
void SMServerConfig::load(bool useDefaults )
{
- KConfig *c = new KConfig("ksmserverrc", false, false);
+ TDEConfig *c = new TDEConfig("ksmserverrc", false, false);
c->setReadDefaults( useDefaults );
c->setGroup("General");
dialog->confirmLogoutCheck->setChecked(c->readBoolEntry("confirmLogout", true));
@@ -102,7 +102,7 @@ void SMServerConfig::load(bool useDefaults )
void SMServerConfig::save()
{
- KConfig *c = new KConfig("ksmserverrc", false, false);
+ TDEConfig *c = new TDEConfig("ksmserverrc", false, false);
c->setGroup("General");
c->writeEntry( "confirmLogout", dialog->confirmLogoutCheck->isChecked());
c->writeEntry( "offerShutdown", dialog->offerShutdownCheck->isChecked());
diff --git a/kcontrol/smserver/kcmsmserver.h b/kcontrol/smserver/kcmsmserver.h
index c1ea4a362..c66caaa93 100644
--- a/kcontrol/smserver/kcmsmserver.h
+++ b/kcontrol/smserver/kcmsmserver.h
@@ -26,7 +26,7 @@
class SMServerConfigImpl;
-class SMServerConfig : public KCModule
+class SMServerConfig : public TDECModule
{
Q_OBJECT