summaryrefslogtreecommitdiffstats
path: root/kpat/pwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpat/pwidget.cpp')
-rw-r--r--kpat/pwidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpat/pwidget.cpp b/kpat/pwidget.cpp
index 4901d75f..288ebc6a 100644
--- a/kpat/pwidget.cpp
+++ b/kpat/pwidget.cpp
@@ -70,7 +70,7 @@ pWidget::pWidget()
actionCollection(), "open");
recent = KStdAction::openRecent(TQT_TQOBJECT(this), TQT_SLOT(openGame(const KURL&)),
actionCollection(), "open_recent");
- recent->loadEntries(KGlobal::config());
+ recent->loadEntries(TDEGlobal::config());
(void)KStdAction::saveAs(TQT_TQOBJECT(this), TQT_SLOT(saveGame()),
actionCollection(), "save");
(void)new KAction(i18n("&Choose Game..."), 0, TQT_TQOBJECT(this), TQT_SLOT(chooseGame()),
@@ -102,14 +102,14 @@ pWidget::pWidget()
}
games->setItems(list);
- KGlobal::dirs()->addResourceType("wallpaper", KStandardDirs::kde_default("data") + "kpat/backgrounds/");
- KGlobal::dirs()->addResourceType("wallpaper", KStandardDirs::kde_default("data") + "ksnake/backgrounds/");
+ TDEGlobal::dirs()->addResourceType("wallpaper", KStandardDirs::kde_default("data") + "kpat/backgrounds/");
+ TDEGlobal::dirs()->addResourceType("wallpaper", KStandardDirs::kde_default("data") + "ksnake/backgrounds/");
wallpapers = new KSelectAction(i18n("&Change Background"), 0, TQT_TQOBJECT(this),
TQT_SLOT(changeWallpaper()),
actionCollection(), "wallpaper");
list.clear();
wallpaperlist.clear();
- TQStringList wallpaperlist2 = KGlobal::dirs()->findAllResources("wallpaper", TQString(),
+ TQStringList wallpaperlist2 = TDEGlobal::dirs()->findAllResources("wallpaper", TQString(),
false, true, list);
TQStringList list2;
for (TQStringList::ConstIterator it = list.begin(); it != list.end(); ++it) {
@@ -470,7 +470,7 @@ void pWidget::gameLost()
KConfig *config = 0;
TQString grpNotifMsgs = TQString::fromLatin1("Notification Messages");
- config = KGlobal::config();
+ config = TDEGlobal::config();
KConfigGroupSaver saver(config,
TQString::fromLatin1("Notification Messages"));
TQString dontAsk = config->readEntry(dontAskAgainName).lower();
@@ -524,7 +524,7 @@ void pWidget::openGame(const KURL &url)
setGameCaption();
KIO::NetAccess::removeTempFile( tmpFile );
recent->addURL(url);
- recent->saveEntries(KGlobal::config());
+ recent->saveEntries(TDEGlobal::config());
}
}
@@ -545,7 +545,7 @@ void pWidget::saveGame()
file.close();
KIO::NetAccess::upload(file.name(), url, this);
recent->addURL(url);
- recent->saveEntries(KGlobal::config());
+ recent->saveEntries(TDEGlobal::config());
}
void pWidget::showStats()