From e4e0479220e9e9616b68b2a11e42cff7a8af7b3d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:17:06 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- kcontrol/smserver/kcmsmserver.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kcontrol/smserver/kcmsmserver.cpp') 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()); -- cgit v1.2.1