summaryrefslogtreecommitdiffstats
path: root/libksieve/tests/parsertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libksieve/tests/parsertest.cpp')
-rw-r--r--libksieve/tests/parsertest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libksieve/tests/parsertest.cpp b/libksieve/tests/parsertest.cpp
index fdc08a978..9d0d8e141 100644
--- a/libksieve/tests/parsertest.cpp
+++ b/libksieve/tests/parsertest.cpp
@@ -37,7 +37,7 @@ using KSieve::Parser;
#include <ksieve/error.h>
#include <ksieve/scriptbuilder.h>
-#include <tqcstring.h> // qstrlen
+#include <tqcstring.h> // tqstrlen
#include <tqstring.h>
#include <iostream>
@@ -627,7 +627,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] );
Parser parser( scursor, send );
PrintingScriptBuilder psb;
@@ -644,7 +644,7 @@ int main( int argc, char * argv[] ) {
const TestCase & t = testCases[i];
cerr << t.name << ":";
VerifyingScriptBuilder v( t );
- Parser p( t.script, t.script + qstrlen( t.script ) );
+ Parser p( t.script, t.script + tqstrlen( t.script ) );
p.setScriptBuilder( &v );
const bool ok = p.parse();
if ( v.ok() )