summaryrefslogtreecommitdiffstats
path: root/kdecore/ksimpleconfig.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/ksimpleconfig.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/ksimpleconfig.cpp')
-rw-r--r--kdecore/ksimpleconfig.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdecore/ksimpleconfig.cpp b/kdecore/ksimpleconfig.cpp
index b23236be9..6b4e13a14 100644
--- a/kdecore/ksimpleconfig.cpp
+++ b/kdecore/ksimpleconfig.cpp
@@ -28,8 +28,8 @@
#include <stdlib.h>
#include <unistd.h>
-#include <qfileinfo.h>
-#include <qdir.h>
+#include <tqfileinfo.h>
+#include <tqdir.h>
#include "kglobal.h"
#include "kstandarddirs.h"
@@ -37,14 +37,14 @@
#include "ksimpleconfig.h"
-KSimpleConfig::KSimpleConfig(const QString &fileName, bool bReadOnly)
- : KConfig(QString::fromLatin1(""), bReadOnly, false)
+KSimpleConfig::KSimpleConfig(const TQString &fileName, bool bReadOnly)
+ : KConfig(TQString::fromLatin1(""), bReadOnly, false)
{
// the difference between KConfig and KSimpleConfig is just that
// for KSimpleConfig an absolute filename is guaranteed
- if (!fileName.isNull() && QDir::isRelativePath(fileName)) {
+ if (!fileName.isNull() && TQDir::isRelativePath(fileName)) {
backEnd->changeFileName( KGlobal::dirs()->
- saveLocation("config", QString::null, !bReadOnly)+fileName, "config", false);
+ saveLocation("config", TQString::null, !bReadOnly)+fileName, "config", false);
} else {
backEnd->changeFileName(fileName, "config", false);
}