summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/textrangeregexp.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/textrangeregexp.h
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/textrangeregexp.h')
-rw-r--r--kregexpeditor/textrangeregexp.h20
1 files changed, 10 insertions, 10 deletions
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 <qstringlist.h>
+#include <tqstringlist.h>
-typedef Pair<QString,QString> StringPair;
+typedef Pair<TQString,TQString> 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<StringPair> range() const { return _ranges; }
+ void addRange( TQString from, TQString to );
+ TQPtrList<StringPair> 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<StringPair> _ranges;
+ TQStringList _chars;
+ TQPtrList<StringPair> _ranges;
};
#endif // __TEXTRANGEREGEXP_H