summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waSkinManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/winskin/waSkinManager.cpp')
-rw-r--r--noatun/modules/winskin/waSkinManager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noatun/modules/winskin/waSkinManager.cpp b/noatun/modules/winskin/waSkinManager.cpp
index 08804885..4288119e 100644
--- a/noatun/modules/winskin/waSkinManager.cpp
+++ b/noatun/modules/winskin/waSkinManager.cpp
@@ -20,7 +20,7 @@ WaSkinManager::~WaSkinManager() {
}
TQStringList WaSkinManager::availableSkins() {
- TQStringList skinDirs = KGlobal::dirs()->findDirs("data", "noatun/skins/winamp");
+ TQStringList skinDirs = TDEGlobal::dirs()->findDirs("data", "noatun/skins/winamp");
TQStringList skin_list;
// This loop adds them all to our skin list
@@ -55,7 +55,7 @@ TQString WaSkinManager::defaultSkin() {
}
bool WaSkinManager::loadSkin(TQString skinName) {
- TQStringList skins = KGlobal::dirs()->findDirs("data", "noatun/skins/winamp/" + skinName);
+ TQStringList skins = TDEGlobal::dirs()->findDirs("data", "noatun/skins/winamp/" + skinName);
if (!skins.count())
mCurrentSkin = defaultSkin();
@@ -66,7 +66,7 @@ bool WaSkinManager::loadSkin(TQString skinName) {
}
bool WaSkinManager::installSkin(TQString _url) {
- TQString location = KGlobal::dirs()->saveLocation("data", "noatun/skins/winamp");
+ TQString location = TDEGlobal::dirs()->saveLocation("data", "noatun/skins/winamp");
KURL url(_url);
TQString mimetype = KMimeType::findByURL(_url)->name();
@@ -96,7 +96,7 @@ bool WaSkinManager::removeSkin(TQString skinName) {
if (!skinRemovable(skinName))
return false;
- TQStringList skins = KGlobal::dirs()->findDirs("data", "noatun/skins/winamp/" + skinName);
+ TQStringList skins = TDEGlobal::dirs()->findDirs("data", "noatun/skins/winamp/" + skinName);
KIO::Job *job = KIO::del(KURL(skins[0]), false, false);
connect(job, TQT_SIGNAL(result(KIO::Job *)), this, TQT_SIGNAL(updateSkinList()));
@@ -105,7 +105,7 @@ bool WaSkinManager::removeSkin(TQString skinName) {
}
bool WaSkinManager::skinRemovable(TQString skinName) {
- TQStringList skins = KGlobal::dirs()->findDirs("data", "noatun/skins/winamp/" + skinName);
+ TQStringList skins = TDEGlobal::dirs()->findDirs("data", "noatun/skins/winamp/" + skinName);
if (!skins.count())
return false;