summaryrefslogtreecommitdiffstats
path: root/kalarm/kalarmd/adconfigdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/kalarmd/adconfigdata.cpp')
-rw-r--r--kalarm/kalarmd/adconfigdata.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kalarm/kalarmd/adconfigdata.cpp b/kalarm/kalarmd/adconfigdata.cpp
index 06ee4597e..9f471e4da 100644
--- a/kalarm/kalarmd/adconfigdata.cpp
+++ b/kalarm/kalarmd/adconfigdata.cpp
@@ -31,13 +31,13 @@
#include "adconfigdata.h"
// Config file key strings
-const TQString CLIENT_GROUP(TQString::fromLatin1("Client "));
+const TQString CLIENT_GROUP(TQString::tqfromLatin1("Client "));
const TQRegExp CLIENT_GROUP_SEARCH("^Client ");
// Client data file key strings
-const TQString CALENDAR_KEY(TQString::fromLatin1("Calendar"));
-const TQString TITLE_KEY(TQString::fromLatin1("Title"));
-const TQString DCOP_OBJECT_KEY(TQString::fromLatin1("DCOP object"));
-const TQString START_CLIENT_KEY(TQString::fromLatin1("Start"));
+const TQString CALENDAR_KEY(TQString::tqfromLatin1("Calendar"));
+const TQString TITLE_KEY(TQString::tqfromLatin1("Title"));
+const TQString DCOP_OBJECT_KEY(TQString::tqfromLatin1("DCOP object"));
+const TQString START_CLIENT_KEY(TQString::tqfromLatin1("Start"));
/******************************************************************************
@@ -139,8 +139,8 @@ void ADConfigData::enableAutoStart(bool on)
kdDebug(5900) << "ADConfigData::enableAutoStart(" << on << ")\n";
KConfig* config = KGlobal::config();
config->reparseConfiguration();
- config->setGroup(TQString::fromLatin1(DAEMON_AUTOSTART_SECTION));
- config->writeEntry(TQString::fromLatin1(DAEMON_AUTOSTART_KEY), on);
+ config->setGroup(TQString::tqfromLatin1(DAEMON_AUTOSTART_SECTION));
+ config->writeEntry(TQString::tqfromLatin1(DAEMON_AUTOSTART_KEY), on);
config->sync();
}