diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/regexp.h | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-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/regexp.h')
-rw-r--r-- | kregexpeditor/regexp.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kregexpeditor/regexp.h b/kregexpeditor/regexp.h index 86bd796..5b2bcae 100644 --- a/kregexpeditor/regexp.h +++ b/kregexpeditor/regexp.h @@ -18,8 +18,8 @@ #ifndef REGEXP_H #define REGEXP_H -#include <qdom.h> -#include <qptrlist.h> +#include <tqdom.h> +#include <tqptrlist.h> class CompoundRegExp; class ErrorMap; @@ -35,9 +35,9 @@ public: virtual ~RegExp(); virtual int precedence() const = 0; - virtual QDomNode toXml( QDomDocument* doc ) const = 0; - virtual bool load( QDomElement, const QString& version ) = 0; - QString toXmlString() const; + virtual TQDomNode toXml( TQDomDocument* doc ) const = 0; + virtual bool load( TQDomElement, const TQString& version ) = 0; + TQString toXmlString() const; void check( ErrorMap& ); virtual bool check( ErrorMap&, bool first, bool last ) = 0; @@ -55,18 +55,18 @@ public: void setSelected( bool b ) { _selected = b; } protected: - RegExp* readRegExp( QDomElement top, const QString& version ); + RegExp* readRegExp( TQDomElement top, const TQString& version ); private: RegExp() {} // disable - QPtrList<RegExp> _children; + TQPtrList<RegExp> _children; RegExp* _parent; bool _destructing; bool _selected; }; -typedef QPtrList<RegExp> RegExpList; -typedef QPtrListIterator<RegExp> RegExpListIt; +typedef TQPtrList<RegExp> RegExpList; +typedef TQPtrListIterator<RegExp> RegExpListIt; #endif // REGEXP_H |