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/userdefinedregexps.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/userdefinedregexps.h')
-rw-r--r-- | kregexpeditor/userdefinedregexps.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kregexpeditor/userdefinedregexps.h b/kregexpeditor/userdefinedregexps.h index 358aa73..e1fede4 100644 --- a/kregexpeditor/userdefinedregexps.h +++ b/kregexpeditor/userdefinedregexps.h @@ -17,8 +17,8 @@ **/ #ifndef __USERDEFINEDREGEXPS_H #define __USERDEFINEDREGEXPS_H -#include <qdockwindow.h> -#include <qlistview.h> +#include <tqdockwindow.h> +#include <tqlistview.h> #include "compoundregexp.h" @@ -30,43 +30,43 @@ class UserDefinedRegExps :public QDockWindow Q_OBJECT public: - UserDefinedRegExps( QWidget *parent, const char *name = 0 ); - const QPtrList<CompoundRegExp> regExps() const; + UserDefinedRegExps( TQWidget *parent, const char *name = 0 ); + const TQPtrList<CompoundRegExp> regExps() const; public slots: void slotSelectNewAction(); protected slots: - void slotLoad(QListViewItem* item); - void slotEdit( QListViewItem* item, const QPoint& pos ); + void slotLoad(TQListViewItem* item); + void slotEdit( TQListViewItem* item, const TQPoint& pos ); void slotPopulateUserRegexps(); void slotUnSelect(); protected: - void createItems( const QString& title, const QString& dir, bool usersRegExp ); + void createItems( const TQString& title, const TQString& dir, bool usersRegExp ); signals: void load( RegExp* ); private: - QListView* _userDefined; - QPtrList<CompoundRegExp> _regExps; + TQListView* _userDefined; + TQPtrList<CompoundRegExp> _regExps; }; class WidgetWinItem :public QListViewItem { public: - WidgetWinItem( QString name, RegExp* regexp, bool users, QListViewItem* parent ); - static QString path(); + WidgetWinItem( TQString name, RegExp* regexp, bool users, TQListViewItem* parent ); + static TQString path(); - QString fileName() const; + TQString fileName() const; RegExp* regExp() const; - QString name() const; - void setName( const QString& ); + TQString name() const; + void setName( const TQString& ); bool isUsersRegExp() const { return _usersRegExp; } private: - QString _name; + TQString _name; RegExp* _regexp; bool _usersRegExp; }; |