From 2178da111f72dc574457d5242d120b4d10ea5edd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:50:05 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kworldwatch/applet.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kworldwatch/applet.cpp') diff --git a/kworldwatch/applet.cpp b/kworldwatch/applet.cpp index 5accd63..4559c92 100644 --- a/kworldwatch/applet.cpp +++ b/kworldwatch/applet.cpp @@ -44,8 +44,8 @@ extern "C" { KDE_EXPORT KPanelApplet *init(TQWidget *parent, const TQString& configFile) { - KGlobal::locale()->insertCatalogue("kworldclock"); - KGlobal::locale()->insertCatalogue("timezones"); // For time zone translation + TDEGlobal::locale()->insertCatalogue("kworldclock"); + TDEGlobal::locale()->insertCatalogue("timezones"); // For time zone translation return new KWWApplet(configFile, KPanelApplet::Normal, 0, parent, "kwwapplet"); @@ -58,7 +58,7 @@ KWWApplet::KWWApplet(const TQString& configFile, Type type, int actions, : KPanelApplet(configFile, type, actions, parent, name) { // make use of the icons installed for ksaferppp - KGlobal::iconLoader()->addAppDir("kworldwatch"); + TDEGlobal::iconLoader()->addAppDir("kworldwatch"); TQVBoxLayout *vbox = new TQVBoxLayout(this, 0,0); @@ -106,7 +106,7 @@ void KWWApplet::mousePressEvent(TQMouseEvent *e) { bool clicked = false; - if (KGlobalSettings::singleClick()) + if (TDEGlobalSettings::singleClick()) { clicked = e->type() == TQMouseEvent::MouseButtonPress; } -- cgit v1.2.1