summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/oblique/kdatacollection.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:40:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:40:51 -0600
commit4c097708c4cc24f3b8e4c21f14644f5715767d47 (patch)
treee8ca4b1d3a3b3de0d18e5f144dcef9b36f830b84 /noatun-plugins/oblique/kdatacollection.cpp
parent0642ee50634d90e255c6f45194f6a47dc1157cde (diff)
downloadtdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.tar.gz
tdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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)
{