summaryrefslogtreecommitdiffstats
path: root/kdecore/ksimpleconfig.cpp
diff options
context:
space:
mode:
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);
}