diff options
author | Timothy Pearson <[email protected]> | 2013-01-20 00:17:06 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-20 00:17:06 -0600 |
commit | e4e0479220e9e9616b68b2a11e42cff7a8af7b3d (patch) | |
tree | 8e01571cdd132dad34ebec38b12c2dbc37d05bd9 /kcontrol/smserver | |
parent | d41050ea3f6904e5156d35f664346b816b9e4d12 (diff) | |
download | tdebase-e4e0479220e9e9616b68b2a11e42cff7a8af7b3d.tar.gz tdebase-e4e0479220e9e9616b68b2a11e42cff7a8af7b3d.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kcontrol/smserver')
-rw-r--r-- | kcontrol/smserver/kcmsmserver.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kcontrol/smserver/kcmsmserver.cpp b/kcontrol/smserver/kcmsmserver.cpp index 5ea993964..1a312034d 100644 --- a/kcontrol/smserver/kcmsmserver.cpp +++ b/kcontrol/smserver/kcmsmserver.cpp @@ -79,11 +79,11 @@ void SMServerConfig::load(bool useDefaults ) else // "restorePreviousLogout" dialog->previousSessionRadio->setChecked(true); - switch (c->readNumEntry("shutdownType", int(KApplication::ShutdownTypeNone))) { - case int(KApplication::ShutdownTypeHalt): + switch (c->readNumEntry("shutdownType", int(TDEApplication::ShutdownTypeNone))) { + case int(TDEApplication::ShutdownTypeHalt): dialog->haltRadio->setChecked(true); break; - case int(KApplication::ShutdownTypeReboot): + case int(TDEApplication::ShutdownTypeReboot): dialog->rebootRadio->setChecked(true); break; default: @@ -116,10 +116,10 @@ void SMServerConfig::save() c->writeEntry( "shutdownType", dialog->haltRadio->isChecked() ? - int(KApplication::ShutdownTypeHalt) : + int(TDEApplication::ShutdownTypeHalt) : dialog->rebootRadio->isChecked() ? - int(KApplication::ShutdownTypeReboot) : - int(KApplication::ShutdownTypeNone)); + int(TDEApplication::ShutdownTypeReboot) : + int(TDEApplication::ShutdownTypeNone)); c->writeEntry("excludeApps", dialog->excludeLineedit->text()); c->setGroup("Logout"); c->writeEntry( "showLogoutStatusDlg", dialog->showLogoutStatusDialog->isChecked()); |