From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libksieve/ksieve/error.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libksieve/ksieve/error.h') diff --git a/libksieve/ksieve/error.h b/libksieve/ksieve/error.h index 2dbed32c8..de84b2041 100644 --- a/libksieve/ksieve/error.h +++ b/libksieve/ksieve/error.h @@ -33,7 +33,7 @@ #ifndef __KSIEVE_ERROR_H__ #define __KSIEVE_ERROR_H__ -#include +#include #include @@ -107,14 +107,14 @@ namespace KSieve { static const char * typeToString( Type type ); Error( Type type=None, - const QString & s1=QString::null, const QString & s2=QString::null, + const TQString & s1=TQString::null, const TQString & s2=TQString::null, int line=-1, int col=-1 ) : mType( type ), mLine( line ), mCol( col ), mStringOne( s1 ), mStringTwo( s2 ) {} Error( Type type, int line, int col ) : mType( type ), mLine( line ), mCol( col ) {} - QString asString() const; + TQString asString() const; /** So you can write
if( error() )
with e.g. @ref Lexer */ operator bool() const { @@ -124,14 +124,14 @@ namespace KSieve { Type type() const { return mType; } int line() const { return mLine; } int column() const { return mCol; } - QString firstString() const { return mStringOne; } - QString secondString() const { return mStringTwo; } + TQString firstString() const { return mStringOne; } + TQString secondString() const { return mStringTwo; } protected: Type mType; int mLine; int mCol; - QString mStringOne, mStringTwo; + TQString mStringOne, mStringTwo; }; } // namespace KSieve -- cgit v1.2.1