diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 00:55:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 00:55:34 +0000 |
commit | c4189d200e71c7ef82e9a6e34935ad225154d658 (patch) | |
tree | f7f29a1159e0402472ff2ab22617a8113f66263c /kbarcode/rectsettingsdlg.h | |
parent | 2f888b1578e65ec1bc514996eb509fcaf34462d6 (diff) | |
download | kbarcode-c4189d200e71c7ef82e9a6e34935ad225154d658.tar.gz kbarcode-c4189d200e71c7ef82e9a6e34935ad225154d658.zip |
TQt4 port kbarcode
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbarcode@1233956 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbarcode/rectsettingsdlg.h')
-rw-r--r-- | kbarcode/rectsettingsdlg.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/kbarcode/rectsettingsdlg.h b/kbarcode/rectsettingsdlg.h index 5bcd5f4..6a005b7 100644 --- a/kbarcode/rectsettingsdlg.h +++ b/kbarcode/rectsettingsdlg.h @@ -23,20 +23,21 @@ class KColorButton; class KComboBox; class KIntNumInput; -class QCheckBox; +class TQCheckBox; class RectSettingsDlg : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - RectSettingsDlg(QWidget *parent=0, const char *name=0); + RectSettingsDlg(TQWidget *tqparent=0, const char *name=0); ~RectSettingsDlg(); - void setBorderColor( const QColor & c ); - void setFillColor( const QColor & c ); + void setBorderColor( const TQColor & c ); + void setFillColor( const TQColor & c ); void setBorderWidth( int w ); void setPenStyle( int s ); - const QColor borderColor() const; - const QColor fillColor() const; + const TQColor borderColor() const; + const TQColor fillColor() const; int borderWidth() const; int penStyle() const; @@ -48,20 +49,21 @@ class RectSettingsDlg : public KDialogBase { KColorButton* buttonFill; KComboBox* comboLine; - QCheckBox* checkBorder; + TQCheckBox* checkBorder; KIntNumInput* spinWidth; }; -class QPen; +class TQPen; class LineSettingsDlg : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - LineSettingsDlg(QWidget *parent=0, const char *name=0); + LineSettingsDlg(TQWidget *tqparent=0, const char *name=0); ~LineSettingsDlg(); - void setPen( const QPen p ); - QPen pen() const; + void setPen( const TQPen p ); + TQPen pen() const; private: KColorButton* buttonColor; |