summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/compoundwidget.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/compoundwidget.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/compoundwidget.h')
-rw-r--r--kregexpeditor/compoundwidget.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kregexpeditor/compoundwidget.h b/kregexpeditor/compoundwidget.h
index f757c05..4f68b9e 100644
--- a/kregexpeditor/compoundwidget.h
+++ b/kregexpeditor/compoundwidget.h
@@ -32,18 +32,18 @@ class QCheckBox;
class CompoundDetailWindow :public QWidget
{
public:
- CompoundDetailWindow(QWidget* parent, const char* name = 0);
- QString title() const;
- QString description() const;
+ CompoundDetailWindow(TQWidget* parent, const char* name = 0);
+ TQString title() const;
+ TQString description() const;
bool allowReplace() const;
- void setTitle( QString );
- void setDescription( QString );
+ void setTitle( TQString );
+ void setDescription( TQString );
void setAllowReplace( bool );
private:
- QLineEdit* _title;
- QMultiLineEdit* _description;
- QCheckBox* _allowReplace;
+ TQLineEdit* _title;
+ TQMultiLineEdit* _description;
+ TQCheckBox* _allowReplace;
};
@@ -62,23 +62,23 @@ class CompoundWidget :public SingleContainerWidget
Q_OBJECT
public:
- CompoundWidget( RegExpEditorWindow* editorWindow, QWidget* parent,
+ CompoundWidget( RegExpEditorWindow* editorWindow, TQWidget* parent,
const char* name = 0);
CompoundWidget( CompoundRegExp* regexp, RegExpEditorWindow* editorWindow,
- QWidget* parent, const char* name = 0);
+ TQWidget* parent, const char* name = 0);
virtual bool updateSelection( bool parentSelected );
- virtual QSize sizeHint() const;
+ virtual TQSize sizeHint() const;
virtual RegExp* regExp() const;
virtual RegExpType type() const { return COMPOUND; }
virtual int edit();
protected:
- virtual void paintEvent( QPaintEvent *e );
- virtual void mousePressEvent( QMouseEvent* e );
- virtual void mouseReleaseEvent( QMouseEvent* e);
+ virtual void paintEvent( TQPaintEvent *e );
+ virtual void mousePressEvent( TQMouseEvent* e );
+ virtual void mouseReleaseEvent( TQMouseEvent* e);
void init();
- QPixmap getIcon( const QString& name );
+ TQPixmap getIcon( const TQString& name );
protected slots:
void slotConfigCanceled();
@@ -86,16 +86,16 @@ protected slots:
private:
bool _hidden;
- QPixmap _up, _down;
- mutable QSize _pixmapSize;
- mutable QPoint _pixmapPos;
+ TQPixmap _up, _down;
+ mutable TQSize _pixmapSize;
+ mutable TQPoint _pixmapPos;
KDialogBase* _configWindow;
CompoundDetailWindow* _content;
- mutable QSize _textSize;
- mutable QSize _childSize;
- QByteArray _backup;
+ mutable TQSize _textSize;
+ mutable TQSize _childSize;
+ TQByteArray _backup;
int _backRefId;
};