From c688369447b544335c61ffdec4b1c1156b0a0158 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:20:29 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- src/toplevel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/toplevel.cpp b/src/toplevel.cpp index b5daa49..807c43b 100644 --- a/src/toplevel.cpp +++ b/src/toplevel.cpp @@ -76,7 +76,7 @@ TopLevel::TopLevel() : KSystemTray(), ticketWatch(0), m_refreshTimer(0), notifyE menu = new TQPopupMenu(); connect(menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(menuAction(int))); - KHelpMenu* help = new KHelpMenu(this, KGlobal::instance()->aboutData(), false); + KHelpMenu* help = new KHelpMenu(this, TDEGlobal::instance()->aboutData(), false); KPopupMenu* helpMnu = help->menu(); menu->insertSeparator(); @@ -117,7 +117,7 @@ TopLevel::~TopLevel() } void TopLevel::load() { - KConfig* config = KGlobal::instance()->config(); + KConfig* config = TDEGlobal::instance()->config(); config->setGroup(NULL); autostart = config->readBoolEntry("Autostart", true); notifyExpiry = config->readBoolEntry("notifyExpiry", true); @@ -125,7 +125,7 @@ void TopLevel::load() { } void TopLevel::save() { - KConfig* config = KGlobal::instance()->config(); + KConfig* config = TDEGlobal::instance()->config(); config->setGroup(NULL); config->writeEntry("Autostart", autostart); config->writeEntry("notifyExpiry", notifyExpiry); -- cgit v1.2.1