summaryrefslogtreecommitdiffstats
path: root/tdecore/tests/kurltest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tests/kurltest.cpp')
-rw-r--r--tdecore/tests/kurltest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/tests/kurltest.cpp b/tdecore/tests/kurltest.cpp
index e9fb33254..bcee63ac3 100644
--- a/tdecore/tests/kurltest.cpp
+++ b/tdecore/tests/kurltest.cpp
@@ -7,7 +7,7 @@
#include <kdebug.h>
#include <kglobal.h>
#include <kcharsets.h>
-#include <textcodec.h>
+#include <tqtextcodec.h>
#include <tqdatastream.h>
#include <assert.h>
#include <kcmdlineargs.h>
@@ -384,7 +384,7 @@ int main(int argc, char *argv[])
check("KURL::setFileName()", u2.url(), "file:///home/dfaure/myotherfile.txt");
// more tricky, renaming a directory (kpropsdlg.cc, line ~ 238)
TQString tmpurl = "file:/home/dfaure/myolddir/";
- if ( tmpurl.at(tmpurl.length() - 1) == '/')
+ if ( tmpurl.tqat(tmpurl.length() - 1) == '/')
// It's a directory, so strip the trailing slash first
tmpurl.truncate( tmpurl.length() - 1);
KURL newUrl = tmpurl;