From 5f5ee2367157176ed223b86343eb0a9e4022e020 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:52:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kregexpeditor/textrangeregexp.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kregexpeditor/textrangeregexp.h') diff --git a/kregexpeditor/textrangeregexp.h b/kregexpeditor/textrangeregexp.h index de1785e..28c3e68 100644 --- a/kregexpeditor/textrangeregexp.h +++ b/kregexpeditor/textrangeregexp.h @@ -20,9 +20,9 @@ #include "regexp.h" #include "pair.h" -#include +#include -typedef Pair StringPair; +typedef Pair StringPair; /** Abstract syntax node for `text range' regular expression @@ -35,12 +35,12 @@ public: TextRangeRegExp( bool selected ); virtual ~TextRangeRegExp(); - void addCharacter( QString ch ); - QStringList chars() const { return _chars; } + void addCharacter( TQString ch ); + TQStringList chars() const { return _chars; } void clearChars() { _chars.clear(); } - void addRange( QString from, QString to ); - QPtrList range() const { return _ranges; } + void addRange( TQString from, TQString to ); + TQPtrList range() const { return _ranges; } void clearRange() { _ranges.clear(); } void setNegate( bool set ) { _negate = set; } @@ -61,15 +61,15 @@ public: virtual bool check( ErrorMap&, bool first, bool last ); virtual int precedence() const { return 4;} - virtual QDomNode toXml( QDomDocument* doc ) const; - virtual bool load( QDomElement, const QString& version ); + virtual TQDomNode toXml( TQDomDocument* doc ) const; + virtual bool load( TQDomElement, const TQString& version ); virtual RegExpType type() const { return TEXTRANGE;} virtual bool operator==( const RegExp& other ) const; private: bool _negate, _digit, _nonDigit, _space, _nonSpace, _wordChar, _nonWordChar; - QStringList _chars; - QPtrList _ranges; + TQStringList _chars; + TQPtrList _ranges; }; #endif // __TEXTRANGEREGEXP_H -- cgit v1.2.1