summaryrefslogtreecommitdiffstats
path: root/amor/amor.cpp
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 /amor/amor.cpp
parentf39ce360454f118af0d94b215b83dbd950276ff7 (diff)
downloadtdetoys-2178da111f72dc574457d5242d120b4d10ea5edd.tar.gz
tdetoys-2178da111f72dc574457d5242d120b4d10ea5edd.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'amor/amor.cpp')
-rw-r--r--amor/amor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/amor/amor.cpp b/amor/amor.cpp
index 34358f8..8bb0130 100644
--- a/amor/amor.cpp
+++ b/amor/amor.cpp
@@ -314,7 +314,7 @@ bool Amor::readConfig()
TQStringList files;
// Store relative paths into files to avoid storing absolute pathnames.
- KGlobal::dirs()->findAllResources("appdata", "*rc", false, false, files);
+ TDEGlobal::dirs()->findAllResources("appdata", "*rc", false, false, files);
int randomTheme = kapp->random() % files.count();
mConfig.mTheme = (TQString)*files.at(randomTheme);
}
@@ -606,7 +606,7 @@ void Amor::slotMouseClicked(const TQPoint &pos)
if (!mMenu)
{
- KHelpMenu* help = new KHelpMenu(0, KGlobal::instance()->aboutData(), false);
+ KHelpMenu* help = new KHelpMenu(0, TDEGlobal::instance()->aboutData(), false);
KPopupMenu* helpMnu = help->menu();
mMenu = new KPopupMenu();
mMenu->insertTitle("Amor"); // I really don't want this i18n'ed