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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libksieve/tests/lexertest.cpp b/libksieve/tests/lexertest.cpp
index dee04bd11..df5ac6e1b 100644
--- a/libksieve/tests/lexertest.cpp
+++ b/libksieve/tests/lexertest.cpp
@@ -37,7 +37,7 @@ using KSieve::Lexer;
#include <ksieve/error.h>
using KSieve::Error;
-#include <tqcstring.h> // qstrlen
+#include <tqcstring.h> // tqstrlen
#include <tqstring.h>
#include <iostream>
@@ -398,7 +398,7 @@ int main( int argc, char * argv[] ) {
if ( argc == 2 ) { // manual test
const char * scursor = argv[1];
- const char * const send = argv[1] + qstrlen( argv[1] );
+ const char * const send = argv[1] + tqstrlen( argv[1] );
Lexer lexer( scursor, send );
@@ -424,7 +424,7 @@ int main( int argc, char * argv[] ) {
for ( int i = 0 ; i < numTestCases ; ++i ) {
bool ok = true;
const TestCase & t = testcases[i];
- const char * const send = t.string + qstrlen( t.string );
+ const char * const send = t.string + tqstrlen( t.string );
Lexer lexer( t.string, send, Lexer::IncludeComments );
cerr << t.name << ":";
for ( int j = 0 ; !lexer.atEnd() ; ++j ) {