summaryrefslogtreecommitdiffstats
path: root/kodo
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:50:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:50:05 -0600
commit2178da111f72dc574457d5242d120b4d10ea5edd (patch)
tree3f1a143f751c624ab24c35d67229121c98c7cefa /kodo
parentf39ce360454f118af0d94b215b83dbd950276ff7 (diff)
downloadtdetoys-2178da111f72dc574457d5242d120b4d10ea5edd.tar.gz
tdetoys-2178da111f72dc574457d5242d120b4d10ea5edd.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kodo')
-rw-r--r--kodo/kodometer.cpp8
1 files changed, 4 insertions, 4 deletions
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);