diff options
Diffstat (limited to 'kdecore/tests/kurltest.cpp')
-rw-r--r-- | kdecore/tests/kurltest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdecore/tests/kurltest.cpp b/kdecore/tests/kurltest.cpp index 535a66b9a..e80561d2c 100644 --- a/kdecore/tests/kurltest.cpp +++ b/kdecore/tests/kurltest.cpp @@ -1003,16 +1003,16 @@ int main(int argc, char *argv[]) check("com2.url()", com2.url(), "http://server.com/dir/blubb/blah/"); KURL utf8_1("audiocd:/By%20Name/15%20Geantra%C3%AE.wav", 106); - check("utf8_1.fileName()", utf8_1.fileName(), TQString::tqfromLatin1("15 Geantraî.wav")); + check("utf8_1.fileName()", utf8_1.fileName(), TQString::fromLatin1("15 Geantraî.wav")); KURL utf8_2("audiocd:/By%20Name/15%2fGeantra%C3%AE.wav", 106); - check("utf8_2.fileName()", utf8_2.fileName(), TQString::tqfromLatin1("15/Geantraî.wav")); + check("utf8_2.fileName()", utf8_2.fileName(), TQString::fromLatin1("15/Geantraî.wav")); KURL url_newline_1("http://www.foo.bar/foo/bar\ngnork"); - check("url_newline_1.url()", url_newline_1.url(), TQString::tqfromLatin1("http://www.foo.bar/foo/bar%0Agnork")); + check("url_newline_1.url()", url_newline_1.url(), TQString::fromLatin1("http://www.foo.bar/foo/bar%0Agnork")); KURL url_newline_2("http://www.foo.bar/foo?bar\ngnork"); - check("url_newline_2.url()", url_newline_2.url(), TQString::tqfromLatin1("http://www.foo.bar/foo?bar%0Agnork")); + check("url_newline_2.url()", url_newline_2.url(), TQString::fromLatin1("http://www.foo.bar/foo?bar%0Agnork")); KURL local_file_1("file://localhost/my/file"); check("local_file_1.isLocalFile()", local_file_1.isLocalFile() ? "true" : "false", "true"); |