From a9bde819f2b421dcc44741156e75eca4bb5fb4f4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:49:30 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kalarm/functions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kalarm/functions.cpp') diff --git a/kalarm/functions.cpp b/kalarm/functions.cpp index e5dc5fa3..da43fdad 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; } -- cgit v1.2.3