summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/repeatwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /kregexpeditor/repeatwidget.h
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
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
Diffstat (limited to 'kregexpeditor/repeatwidget.h')
-rw-r--r--kregexpeditor/repeatwidget.h14
1 files changed, 8 insertions, 6 deletions
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();