summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/oblique/kdatacollection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/oblique/kdatacollection.cpp')
-rw-r--r--noatun-plugins/oblique/kdatacollection.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noatun-plugins/oblique/kdatacollection.cpp b/noatun-plugins/oblique/kdatacollection.cpp
index aacb765..ec3485e 100644
--- a/noatun-plugins/oblique/kdatacollection.cpp
+++ b/noatun-plugins/oblique/kdatacollection.cpp
@@ -57,7 +57,7 @@ KDataCollection::KDataCollection(KConfig *config, const TQString &dir)
KDataCollection::KDataCollection(const TQString &dir)
{
- init(KGlobal::config(), "KDataCollection", dir, "appdata", dir);
+ init(TDEGlobal::config(), "KDataCollection", dir, "appdata", dir);
}
void KDataCollection::init(
@@ -78,7 +78,7 @@ TQStringList KDataCollection::names() const
// these are the entries I have
TQStringList n = g.readListEntry(mEntry);
- TQStringList fs = KGlobal::dirs()->findAllResources(mDatadir, mDir+"/*", false, true);
+ TQStringList fs = TDEGlobal::dirs()->findAllResources(mDatadir, mDir+"/*", false, true);
TQStringList total;
for (TQStringList::Iterator i(fs.begin()); i != fs.end(); ++i)
@@ -126,9 +126,9 @@ TQString KDataCollection::file(const TQString &name, bool create)
TQString KDataCollection::saveFile(const TQString &name, bool create)
{
- if (!KGlobal::dirs()->isRestrictedResource(mDatadir, mDir+"/"+name))
+ if (!TDEGlobal::dirs()->isRestrictedResource(mDatadir, mDir+"/"+name))
{
- TQString s = KGlobal::dirs()->saveLocation(mDatadir, mDir, create);
+ TQString s = TDEGlobal::dirs()->saveLocation(mDatadir, mDir, create);
if (s.length() && create)
{