summaryrefslogtreecommitdiffstats
path: root/tdecore/kconfigbackend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/kconfigbackend.cpp')
-rw-r--r--tdecore/kconfigbackend.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdecore/kconfigbackend.cpp b/tdecore/kconfigbackend.cpp
index 633458d41..fde08585e 100644
--- a/tdecore/kconfigbackend.cpp
+++ b/tdecore/kconfigbackend.cpp
@@ -36,8 +36,8 @@
#include <tqdir.h>
#include <tqfileinfo.h>
-#include <tqtextcodec.h>
-#include <tqtextstream.h>
+#include <textcodec.h>
+#include <textstream.h>
#include "kconfigbackend.h"
#include "kconfigbase.h"
@@ -256,7 +256,7 @@ void KConfigBackEnd::changeFileName(const TQString &_fileName,
if (useKDEGlobals)
mGlobalFileName = KGlobal::dirs()->saveLocation("config") +
- TQString::tqfromLatin1("kdeglobals");
+ TQString::fromLatin1("kdeglobals");
else
mGlobalFileName = TQString::null;
@@ -347,19 +347,19 @@ bool KConfigINIBackEnd::parseConfigFiles()
// Parse the general config files
if (useKDEGlobals) {
TQStringList kdercs = KGlobal::dirs()->
- findAllResources("config", TQString::tqfromLatin1("kdeglobals"));
+ findAllResources("config", TQString::fromLatin1("kdeglobals"));
#ifdef Q_WS_WIN
TQString etc_kderc = TQFile::decodeName( TQCString(getenv("WINDIR")) + "\\kderc" );
#else
- TQString etc_kderc = TQString::tqfromLatin1("/etc/kderc");
+ TQString etc_kderc = TQString::fromLatin1("/etc/kderc");
#endif
if (checkAccess(etc_kderc, R_OK))
kdercs += etc_kderc;
kdercs += KGlobal::dirs()->
- findAllResources("config", TQString::tqfromLatin1("system.kdeglobals"));
+ findAllResources("config", TQString::fromLatin1("system.kdeglobals"));
TQStringList::ConstIterator it;
@@ -496,7 +496,7 @@ qWarning("SIGBUS while reading %s", rFile.name().latin1());
else
#endif
{
- rFile.tqat(0);
+ rFile.at(0);
data = rFile.readAll();
s = data.data();
eof = s + data.size();