diff options
Diffstat (limited to 'kbabel/datatools/regexp/main.h')
-rw-r--r-- | kbabel/datatools/regexp/main.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kbabel/datatools/regexp/main.h b/kbabel/datatools/regexp/main.h index 4ae8953b..c81f96a0 100644 --- a/kbabel/datatools/regexp/main.h +++ b/kbabel/datatools/regexp/main.h @@ -25,7 +25,7 @@ #define __main_h__ #include <kdatatool.h> -#include <qvaluelist.h> +#include <tqvaluelist.h> class QDomElement; @@ -33,41 +33,41 @@ class Expression { public: Expression() {}; - Expression( const QString& name, const QRegExp& regExp ) + Expression( const TQString& name, const TQRegExp& regExp ) { _name = name; _regExp = regExp; } - const QString& name() const + const TQString& name() const { return _name; } - const QRegExp& regExp() const + const TQRegExp& regExp() const { return _regExp; } private: - QString _name; - QRegExp _regExp; + TQString _name; + TQRegExp _regExp; }; -typedef QValueList<Expression> ExpressionList; +typedef TQValueList<Expression> ExpressionList; class RegExpTool : public KDataTool { Q_OBJECT public: - RegExpTool( QObject* parent, const char* name, const QStringList & ); - virtual bool run( const QString& command, void* data, const QString& datatype, const QString& mimetype); + RegExpTool( TQObject* parent, const char* name, const TQStringList & ); + virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype); private: void loadExpressions(); - void elementToExpression( const QDomElement& e ); + void elementToExpression( const TQDomElement& e ); ExpressionList _list; - QString _error; + TQString _error; }; #endif |