summaryrefslogtreecommitdiffstats
path: root/libksieve/tests/lexertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libksieve/tests/lexertest.cpp')
-rw-r--r--libksieve/tests/lexertest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libksieve/tests/lexertest.cpp b/libksieve/tests/lexertest.cpp
index 461499501..23e0f886d 100644
--- a/libksieve/tests/lexertest.cpp
+++ b/libksieve/tests/lexertest.cpp
@@ -36,8 +36,8 @@ using KSieve::Lexer;
#include <ksieve/error.h>
using KSieve::Error;
-#include <qcstring.h> // qstrlen
-#include <qstring.h>
+#include <tqcstring.h> // qstrlen
+#include <tqstring.h>
#include <iostream>
using std::cout;
@@ -403,7 +403,7 @@ int main( int argc, char * argv[] ) {
cout << "Begin" << endl;
while ( !lexer.atEnd() ) {
- QString result;
+ TQString result;
Lexer::Token token = lexer.nextToken( result );
if ( lexer.error() ) {
cout << "Error " << token2string( token ) << ": \""
@@ -427,7 +427,7 @@ int main( int argc, char * argv[] ) {
Lexer lexer( t.string, send, Lexer::IncludeComments );
cerr << t.name << ":";
for ( int j = 0 ; !lexer.atEnd() ; ++j ) {
- QString result;
+ TQString result;
Lexer::Token token = lexer.nextToken( result );
Error error = lexer.error();
if ( t.expected[j].token != token ) {
@@ -435,7 +435,7 @@ int main( int argc, char * argv[] ) {
cerr << " expected token " << token2string( t.expected[j].token )
<< ", got " << token2string( token );
}
- if ( QString::fromUtf8( t.expected[j].result ) != result ) {
+ if ( TQString::fromUtf8( t.expected[j].result ) != result ) {
ok = false;
if ( t.expected[j].result )
cerr << " expected string \"" << t.expected[j].result << "\"";