summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-31 13:22:28 -0600
committerTimothy Pearson <[email protected]>2013-01-31 13:22:28 -0600
commitd1903dde17b3b514442ed0dd97b727325d92565e (patch)
treee0a442c2a5572701b8ab4fced30ee0394af98155
parent44605ea2809e6a8c2d0f07b3aac2b0401fbc844c (diff)
downloadtde-style-qtcurve-d1903dde17b3b514442ed0dd97b727325d92565e.tar.gz
tde-style-qtcurve-d1903dde17b3b514442ed0dd97b727325d92565e.zip
Rename KStandard for enhanced compatibility with KDE4
-rw-r--r--ChangeLog2
-rw-r--r--common/config_file.c4
-rw-r--r--common/config_file.c-orig2
3 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c3e36a..61ba096 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -51,7 +51,7 @@
-----
1. Add option to use twin titlebar colours as menubar shade.
2. Fix(?) compilation of config module.
-3. Dont use KStandardDirs to create config folder.
+3. Dont use TDEStandardDirs to create config folder.
4. Use 'kde' to disable parent-less dialog fix for all KDE applications.
1.2.0
diff --git a/common/config_file.c b/common/config_file.c
index eb6da2e..aa1c289 100644
--- a/common/config_file.c
+++ b/common/config_file.c
@@ -574,7 +574,7 @@ static const char * getHome()
#include <tqdir.h>
#include <tqfile.h>
#endif
-// Take from KStandardDirs::makeDir
+// Take from TDEStandardDirs::makeDir
static bool makeDir(const TQString& dir, int mode)
{
// we want an absolute path
@@ -700,7 +700,7 @@ static const char *qtcConfDir()
#if defined TQTC_TQT_ONLY || 0x039999 < 0x040000
makeDir(cfgDir, 0755);
#else
- KStandardDirs::makeDir(cfgDir, 0755);
+ TDEStandardDirs::makeDir(cfgDir, 0755);
#endif
#else
g_mkdir_with_parents(cfgDir, 0755);
diff --git a/common/config_file.c-orig b/common/config_file.c-orig
index 44c61fd..b1e3c53 100644
--- a/common/config_file.c-orig
+++ b/common/config_file.c-orig
@@ -353,7 +353,7 @@ static const char *xdgConfigFolder()
if(0!=lstat(xdgDir, &info))
{
#ifdef __cplusplus
- KStandardDirs::makeDir(xdgDir, 0755);
+ TDEStandardDirs::makeDir(xdgDir, 0755);
#else
g_mkdir_with_parents(xdgDir, 0755);
#endif