summaryrefslogtreecommitdiffstats
path: root/libtdepim/tests
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/tests')
-rw-r--r--libtdepim/tests/test_kregexp.cpp4
-rw-r--r--libtdepim/tests/testutf7encoder.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/libtdepim/tests/test_kregexp.cpp b/libtdepim/tests/test_kregexp.cpp
index 511687d07..a44e3be0f 100644
--- a/libtdepim/tests/test_kregexp.cpp
+++ b/libtdepim/tests/test_kregexp.cpp
@@ -9,8 +9,8 @@ main()
// test for http://bugs.kde.org/show_bug.cgi?id=54886
KRegExp3 reg("^");
- TQString res = reg.replace(TQString::tqfromLatin1("Fun stuff"),
- TQString::tqfromLatin1("[fun] "));
+ TQString res = reg.replace(TQString::fromLatin1("Fun stuff"),
+ TQString::fromLatin1("[fun] "));
kdDebug() << res << endl;
}
diff --git a/libtdepim/tests/testutf7encoder.cpp b/libtdepim/tests/testutf7encoder.cpp
index 2938cd660..a28a6bf3a 100644
--- a/libtdepim/tests/testutf7encoder.cpp
+++ b/libtdepim/tests/testutf7encoder.cpp
@@ -9,7 +9,7 @@ void main( int argc, char * argv[] ) {
TQTextEncoder * enc;
- TQString arg = TQString::tqfromLatin1( argv[1] );
+ TQString arg = TQString::fromLatin1( argv[1] );
int len;
cout << "Original string:\n"