diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/widgets/tqbutton.h')
-rw-r--r-- | experimental/tqtinterface/qt4/src/widgets/tqbutton.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/tqtinterface/qt4/src/widgets/tqbutton.h b/experimental/tqtinterface/qt4/src/widgets/tqbutton.h index f75de1ad7..42088a777 100644 --- a/experimental/tqtinterface/qt4/src/widgets/tqbutton.h +++ b/experimental/tqtinterface/qt4/src/widgets/tqbutton.h @@ -184,7 +184,7 @@ inline const TQPixmap *TQButton::pixmap() const inline bool TQButton::isToggleButton() const { - return toggleTyp != SingleShot; + return ToggleType(toggleTyp) != SingleShot; } inline bool TQButton::isDown() const @@ -194,7 +194,7 @@ inline bool TQButton::isDown() const inline bool TQButton::isOn() const { - return stat != Off; + return ToggleState(stat) != Off; } #ifndef TQT_NO_COMPAT |