summaryrefslogtreecommitdiffstats
path: root/noatun/modules/kaiman/pref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/kaiman/pref.cpp')
-rw-r--r--noatun/modules/kaiman/pref.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noatun/modules/kaiman/pref.cpp b/noatun/modules/kaiman/pref.cpp
index 1077613b..eea42474 100644
--- a/noatun/modules/kaiman/pref.cpp
+++ b/noatun/modules/kaiman/pref.cpp
@@ -52,7 +52,7 @@ KaimanPrefDlg::~KaimanPrefDlg()
void KaimanPrefDlg::save()
{
- KConfig *config=KGlobal::config();
+ KConfig *config=TDEGlobal::config();
config->setGroup("Kaiman");
config->writeEntry("SkinResource", skin() );
config->sync();
@@ -67,13 +67,13 @@ void KaimanPrefDlg::reopen()
{
_skinList->clear();
// fill with available skins
- KGlobal::dirs()->addResourceType("skins", KStandardDirs::kde_default("data") + "noatun/skins/kaiman/");
- TQStringList list = KGlobal::dirs()->resourceDirs("skins");
+ TDEGlobal::dirs()->addResourceType("skins", KStandardDirs::kde_default("data") + "noatun/skins/kaiman/");
+ TQStringList list = TDEGlobal::dirs()->resourceDirs("skins");
for (TQStringList::ConstIterator it = list.begin(); it != list.end(); it++)
readSkinDir(*it);
// load current config
- KConfig *config=KGlobal::config();
+ KConfig *config=TDEGlobal::config();
config->setGroup("Kaiman");
TQString skin = config->readEntry( "SkinResource", Kaiman::DEFAULT_SKIN );
TQListBoxItem *item = _skinList->findItem( skin );