summaryrefslogtreecommitdiffstats
path: root/kalarm/daemon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/daemon.cpp')
-rw-r--r--kalarm/daemon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalarm/daemon.cpp b/kalarm/daemon.cpp
index 29ac67d4a..707865f87 100644
--- a/kalarm/daemon.cpp
+++ b/kalarm/daemon.cpp
@@ -413,7 +413,7 @@ void Daemon::enableAutoStart(bool enable)
// The return status doesn't report failure even if the daemon isn't running,
// so in case of failure, rewrite the config file in any case.
- KConfig adconfig(locate("config", DAEMON_APP_NAME"rc"));
+ TDEConfig adconfig(locate("config", DAEMON_APP_NAME"rc"));
adconfig.setGroup(TQString::fromLatin1(DAEMON_AUTOSTART_SECTION));
adconfig.writeEntry(TQString::fromLatin1(DAEMON_AUTOSTART_KEY), enable);
adconfig.sync();
@@ -436,7 +436,7 @@ void Daemon::notifyTimeChanged()
*/
bool Daemon::autoStart()
{
- KConfig adconfig(locate("config", DAEMON_APP_NAME"rc"));
+ TDEConfig adconfig(locate("config", DAEMON_APP_NAME"rc"));
adconfig.setGroup(TQString::fromLatin1(DAEMON_AUTOSTART_SECTION));
return adconfig.readBoolEntry(TQString::fromLatin1(DAEMON_AUTOSTART_KEY), true);
}