summaryrefslogtreecommitdiffstats
path: root/libtdepim/tests
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
commit0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch)
tree4138783f7dad757fc5fbfaa8d66a355288d3125e /libtdepim/tests
parent9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff)
downloadtdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz
tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip
Rename old tq methods that no longer need a unique name
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"