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/ksieve/error.h | |
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/ksieve/error.h')
-rw-r--r-- | libksieve/ksieve/error.h | 12 |
1 files changed, 6 insertions, 6 deletions
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 <qstring.h> +#include <tqstring.h> #include <kdepimmacros.h> @@ -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 <pre>if( error() )</pre> 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 |