summaryrefslogtreecommitdiffstats
path: root/superkaramba
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:29:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:29:48 -0600
commit2fb1ed0d03dda186096172cb76aedfd5e3953f94 (patch)
treeb9754c7d27d6981c7a3800d3fc2eba9298145d04 /superkaramba
parent6ad068ea54051101d56514791a672144786c7063 (diff)
downloadtdeutils-2fb1ed0d03dda186096172cb76aedfd5e3953f94.tar.gz
tdeutils-2fb1ed0d03dda186096172cb76aedfd5e3953f94.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'superkaramba')
-rw-r--r--superkaramba/src/sknewstuff.cpp4
-rw-r--r--superkaramba/src/themesdlg.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/superkaramba/src/sknewstuff.cpp b/superkaramba/src/sknewstuff.cpp
index 1b8b451..130d58a 100644
--- a/superkaramba/src/sknewstuff.cpp
+++ b/superkaramba/src/sknewstuff.cpp
@@ -50,12 +50,12 @@ bool SKNewStuff::install( const TQString &fileName )
kdDebug() << "SKNewStuff::install(): " << fileName << endl;
KMimeType::Ptr result = KMimeType::findByURL(fileName);
- KStandardDirs myStdDir;
+ TDEStandardDirs myStdDir;
TQFileInfo fi(fileName);
TQString base = fi.baseName();
TQString baseDestDir =myStdDir.saveLocation("data", kapp->instanceName() + "/themes/", true);
const TQString destDir = baseDestDir + base + "/";
- KStandardDirs::makeDir( destDir );
+ TDEStandardDirs::makeDir( destDir );
kdDebug() << "SKNewStuff::install() mimetype: " << result->name() << endl;
diff --git a/superkaramba/src/themesdlg.cpp b/superkaramba/src/themesdlg.cpp
index 9b13ff3..d47b039 100644
--- a/superkaramba/src/themesdlg.cpp
+++ b/superkaramba/src/themesdlg.cpp
@@ -74,7 +74,7 @@ ThemesDlg::~ThemesDlg()
void ThemesDlg::saveUserAddedThemes()
{
- KStandardDirs ksd;
+ TDEStandardDirs ksd;
TQStringList t = themes();
TQStringList dirs = ksd.findDirs("data", TQString(kapp->name()) + "/themes");
TQStringList::Iterator it = t.begin();
@@ -121,7 +121,7 @@ void ThemesDlg::populateListbox()
TQDir dir;
TQStringList dirs;
TQStringList t;
- KStandardDirs ksd;
+ TDEStandardDirs ksd;
tableThemes->clear();