From 79b21d47bce1ee428affc97534cd8b257232a871 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:43:14 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kcontrol/kcontrol/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kcontrol/kcontrol/main.cpp') diff --git a/kcontrol/kcontrol/main.cpp b/kcontrol/kcontrol/main.cpp index 411a95748..7edc8bd43 100644 --- a/kcontrol/kcontrol/main.cpp +++ b/kcontrol/kcontrol/main.cpp @@ -56,7 +56,7 @@ KControlApp::KControlApp() toplevel = new TopLevel(); setMainWidget(toplevel); - KGlobal::setActiveInstance(this); + TDEGlobal::setActiveInstance(this); // KUniqueApplication does dcop regitration for us ModuleIface *modIface = new ModuleIface(TQT_TQOBJECT(toplevel), "moduleIface"); @@ -64,8 +64,8 @@ KControlApp::KControlApp() connect (modIface, TQT_SIGNAL(helpClicked()), toplevel, TQT_SLOT(slotHelpRequest())); connect (modIface, TQT_SIGNAL(handbookClicked()), toplevel, TQT_SLOT(slotHandbookRequest())); - TQRect desk = KGlobalSettings::desktopGeometry(toplevel); - KConfig *config = KGlobal::config(); + TQRect desk = TDEGlobalSettings::desktopGeometry(toplevel); + KConfig *config = TDEGlobal::config(); config->setGroup("General"); // Initial size is: // never bigger than workspace as reported by desk @@ -88,7 +88,7 @@ KControlApp::~KControlApp() { if (toplevel) { - KConfig *config = KGlobal::config(); + KConfig *config = TDEGlobal::config(); config->setGroup("General"); TQWidget *desk = TQT_TQWIDGET(TQApplication::desktop()); config->writeEntry(TQString::fromLatin1("InitialWidth %1").arg(desk->width()), toplevel->width()); -- cgit v1.2.3