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 --- kodo/kodometer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kodo') diff --git a/kodo/kodometer.cpp b/kodo/kodometer.cpp index a6a0761..f09e21e 100644 --- a/kodo/kodometer.cpp +++ b/kodo/kodometer.cpp @@ -80,13 +80,13 @@ Kodometer::Kodometer(TQWidget* parent, const char* name) tripLabel->installEventFilter(this); // setup help menu - help = new KHelpMenu(this, KGlobal::instance()->aboutData(), false); + help = new KHelpMenu(this, TDEGlobal::instance()->aboutData(), false); KPopupMenu* helpMnu = help->menu(); // Make the popup menu menu = new KPopupMenu(); - menu->insertTitle(kapp->miniIcon(), KGlobal::instance()->aboutData()->programName()); + menu->insertTitle(kapp->miniIcon(), TDEGlobal::instance()->aboutData()->programName()); enabledID = menu->insertItem(i18n("&Enable"), this, TQT_SLOT(toggleEnabled())); metricID = menu->insertItem(i18n("&Metric Display"), this, @@ -556,7 +556,7 @@ TQString Kodometer::FormatDistance(double &dist, Units unit) */ void Kodometer::readSettings(void) { - KConfig* config = KGlobal::config(); + KConfig* config = TDEGlobal::config(); config->setGroup("Settings"); UseMetric = config->readNumEntry("UseMetric", false); @@ -575,7 +575,7 @@ void Kodometer::readSettings(void) */ void Kodometer::saveSettings(void) { - KConfig* config = KGlobal::config(); + KConfig* config = TDEGlobal::config(); config->setGroup("Settings"); config->writeEntry("UseMetric", UseMetric); -- cgit v1.2.1