summaryrefslogtreecommitdiffstats
path: root/libksieve/ksieve/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'libksieve/ksieve/error.h')
-rw-r--r--libksieve/ksieve/error.h12
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