diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /libksieve/tests/lexertest.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libksieve/tests/lexertest.cpp')
-rw-r--r-- | libksieve/tests/lexertest.cpp | 10 |
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 << "\""; |