summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/repeatwidget.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/repeatwidget.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/repeatwidget.h')
-rw-r--r--kregexpeditor/repeatwidget.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kregexpeditor/repeatwidget.h b/kregexpeditor/repeatwidget.h
index 434b4cb..747ba30 100644
--- a/kregexpeditor/repeatwidget.h
+++ b/kregexpeditor/repeatwidget.h
@@ -19,7 +19,7 @@
#define __repeatwidget
#include "singlecontainerwidget.h"
-#include <qvbox.h>
+#include <tqvbox.h>
class QButtonGroup;
class KDialogBase;
class QCheckBox;
@@ -37,8 +37,8 @@ Q_OBJECT
public:
enum REPEATTYPE {ANY, ATLEAST, ATMOST, EXACTLY, MINMAX};
- RepeatRangeWindow( QWidget* parent, const char* name = 0 );
- QString text();
+ RepeatRangeWindow( TQWidget* parent, const char* name = 0 );
+ TQString text();
int min();
int max();
void set( REPEATTYPE tp, int min, int max );
@@ -50,14 +50,14 @@ protected slots:
private:
- void createLine( QWidget* parent, QString text, QSpinBox** spin, REPEATTYPE tp );
-
- QSpinBox* _leastTimes;
- QSpinBox* _mostTimes;
- QSpinBox* _exactlyTimes;
- QSpinBox* _rangeFrom;
- QSpinBox* _rangeTo;
- QButtonGroup* _group;
+ void createLine( TQWidget* parent, TQString text, TQSpinBox** spin, REPEATTYPE tp );
+
+ TQSpinBox* _leastTimes;
+ TQSpinBox* _mostTimes;
+ TQSpinBox* _exactlyTimes;
+ TQSpinBox* _rangeFrom;
+ TQSpinBox* _rangeTo;
+ TQButtonGroup* _group;
};
@@ -73,18 +73,18 @@ class RepeatWidget :public SingleContainerWidget
Q_OBJECT
public:
- RepeatWidget( RegExpEditorWindow* editorWindow, QWidget *parent,
+ RepeatWidget( RegExpEditorWindow* editorWindow, TQWidget *parent,
const char *name = 0);
RepeatWidget( RepeatRegExp* regexp, RegExpEditorWindow* editorWindow,
- QWidget* parent, const char* name = 0);
+ TQWidget* parent, const char* name = 0);
void init();
- virtual QSize sizeHint() const;
+ virtual TQSize sizeHint() const;
virtual RegExp* regExp() const;
virtual RegExpType type() const { return REPEAT; }
virtual int edit();
protected:
- virtual void paintEvent( QPaintEvent *e );
+ virtual void paintEvent( TQPaintEvent *e );
protected slots:
void slotConfigCanceled();
@@ -94,9 +94,9 @@ private:
KDialogBase* _configWindow;
RepeatRangeWindow* _content;
- mutable QSize _textSize;
- mutable QSize _childSize;
- QByteArray _backup;
+ mutable TQSize _textSize;
+ mutable TQSize _childSize;
+ TQByteArray _backup;
};