From a2277b6bc715464e83882b90c2a058139b8a6b54 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 23 Jun 2011 01:42:07 +0000 Subject: TQt4 port kdeutils This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kregexpeditor/repeatwidget.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'kregexpeditor/repeatwidget.h') diff --git a/kregexpeditor/repeatwidget.h b/kregexpeditor/repeatwidget.h index e150cac..14b3dec 100644 --- a/kregexpeditor/repeatwidget.h +++ b/kregexpeditor/repeatwidget.h @@ -30,14 +30,15 @@ class RepeatRegExp; Widget containging the configuration for a @ref RepeatWidget @internal */ -class RepeatRangeWindow :public QVBox +class RepeatRangeWindow :public TQVBox { Q_OBJECT + TQ_OBJECT public: enum REPEATTYPE {ANY, ATLEAST, ATMOST, EXACTLY, MINMAX}; - RepeatRangeWindow( TQWidget* parent, const char* name = 0 ); + RepeatRangeWindow( TQWidget* tqparent, const char* name = 0 ); TQString text(); int min(); int max(); @@ -50,7 +51,7 @@ protected slots: private: - void createLine( TQWidget* parent, TQString text, TQSpinBox** spin, REPEATTYPE tp ); + void createLine( TQWidget* tqparent, TQString text, TQSpinBox** spin, REPEATTYPE tp ); TQSpinBox* _leastTimes; TQSpinBox* _mostTimes; @@ -71,14 +72,15 @@ private: class RepeatWidget :public SingleContainerWidget { Q_OBJECT + TQ_OBJECT public: - RepeatWidget( RegExpEditorWindow* editorWindow, TQWidget *parent, + RepeatWidget( RegExpEditorWindow* editorWindow, TQWidget *tqparent, const char *name = 0); RepeatWidget( RepeatRegExp* regexp, RegExpEditorWindow* editorWindow, - TQWidget* parent, const char* name = 0); + TQWidget* tqparent, const char* name = 0); void init(); - virtual TQSize sizeHint() const; + virtual TQSize tqsizeHint() const; virtual RegExp* regExp() const; virtual RegExpType type() const { return REPEAT; } virtual int edit(); -- cgit v1.2.1