diff options
Diffstat (limited to 'kalarm/functions.cpp')
-rw-r--r-- | kalarm/functions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kalarm/functions.cpp b/kalarm/functions.cpp index e5dc5fa38..da43fdad6 100644 --- a/kalarm/functions.cpp +++ b/kalarm/functions.cpp @@ -745,7 +745,7 @@ bool runProgram(const TQCString& program, const TQCString& windowName, TQCString */ bool readConfigWindowSize(const char* window, TQSize& result) { - KConfig* config = KGlobal::config(); + KConfig* config = TDEGlobal::config(); config->setGroup(TQString::fromLatin1(window)); TQWidget* desktop = TQT_TQWIDGET(TDEApplication::desktop()); TQSize s = TQSize(config->readNumEntry(TQString::fromLatin1("Width %1").arg(desktop->width()), 0), @@ -762,7 +762,7 @@ bool readConfigWindowSize(const char* window, TQSize& result) */ void writeConfigWindowSize(const char* window, const TQSize& size) { - KConfig* config = KGlobal::config(); + KConfig* config = TDEGlobal::config(); config->setGroup(TQString::fromLatin1(window)); TQWidget* desktop = TQT_TQWIDGET(TDEApplication::desktop()); config->writeEntry(TQString::fromLatin1("Width %1").arg(desktop->width()), size.width()); @@ -894,7 +894,7 @@ int localeFirstDayOfWeek() { static int firstDay = 0; if (!firstDay) - firstDay = KGlobal::locale()->weekStartDay(); + firstDay = TDEGlobal::locale()->weekStartDay(); return firstDay; } |