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/parser/parser.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/parser/parser.cpp')
-rw-r--r-- | libksieve/parser/parser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libksieve/parser/parser.cpp b/libksieve/parser/parser.cpp index 8c2db050e..0a136e71c 100644 --- a/libksieve/parser/parser.cpp +++ b/libksieve/parser/parser.cpp @@ -37,7 +37,7 @@ #include <ksieve/error.h> -#include <qstring.h> +#include <tqstring.h> #include <assert.h> #include <limits.h> // ULONG_MAX @@ -332,7 +332,7 @@ namespace KSieve { return true; } else if ( isStringToken() ) { if ( scriptBuilder() ) - scriptBuilder()->stringArgument( tokenValue(), token() == Lexer::MultiLineString, QString::null ); + scriptBuilder()->stringArgument( tokenValue(), token() == Lexer::MultiLineString, TQString::null ); consumeToken(); return true; } else if ( token() == Lexer::Special && tokenValue() == "[" ) { @@ -590,7 +590,7 @@ namespace KSieve { } lastWasComma = false; if ( scriptBuilder() ) - scriptBuilder()->stringListEntry( tokenValue(), token() == Lexer::MultiLineString, QString::null ); + scriptBuilder()->stringListEntry( tokenValue(), token() == Lexer::MultiLineString, TQString::null ); consumeToken(); break; @@ -618,7 +618,7 @@ namespace KSieve { // number: unsigned long result = 0; unsigned int i = 0; - const QCString s = tokenValue().latin1(); + const TQCString s = tokenValue().latin1(); for ( const unsigned int len = s.length() ; i < len && isdigit( s[i] ) ; ++i ) { const unsigned long digitValue = s[i] - '0' ; if ( willOverflowULong( result, digitValue ) ) { |