diff options
Diffstat (limited to 'src/widgets/widgets/qabstractbutton.h')
-rw-r--r-- | src/widgets/widgets/qabstractbutton.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/widgets/widgets/qabstractbutton.h b/src/widgets/widgets/qabstractbutton.h index 9edfa1b267..6527c6cd32 100644 --- a/src/widgets/widgets/qabstractbutton.h +++ b/src/widgets/widgets/qabstractbutton.h @@ -144,25 +144,6 @@ protected: void changeEvent(QEvent *e); void timerEvent(QTimerEvent *e); -#ifdef QT3_SUPPORT -public: - QT3_SUPPORT_CONSTRUCTOR QAbstractButton(QWidget *parent, const char *name, Qt::WindowFlags f=0); - inline QT3_SUPPORT bool isOn() const { return isChecked(); } - inline QT3_SUPPORT const QPixmap *pixmap() const { return 0; } // help styles compile - inline QT3_SUPPORT void setPixmap( const QPixmap &p ) { - setIcon(QIcon(p)); - setIconSize(p.size()); - } - QT3_SUPPORT QIcon *iconSet() const; - inline QT3_SUPPORT void setIconSet(const QIcon &icon) { setIcon(icon); } - inline QT3_SUPPORT bool isToggleButton() const { return isCheckable(); } - inline QT3_SUPPORT void setToggleButton(bool b) { setCheckable(b); } - inline QT3_SUPPORT void setAccel(const QKeySequence &key) { setShortcut(key); } - inline QT3_SUPPORT QKeySequence accel() const { return shortcut(); } - -public Q_SLOTS: - inline QT_MOC_COMPAT void setOn(bool b) { setChecked(b); } -#endif protected: QAbstractButton(QAbstractButtonPrivate &dd, QWidget* parent = 0); |