summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqbutton.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-23 17:13:36 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-23 17:13:36 -0500
commitd3f7a9d6f1b8f6e24fb49aaa8caeaa7623ae48b5 (patch)
treebaeeba639393f46abab749f4700a250091c3cc16 /tqtinterface/qt4/src/widgets/tqbutton.h
parentd7be1694839bacae31e500ea9e36b3c13257ce28 (diff)
downloadexperimental-d3f7a9d6f1b8f6e24fb49aaa8caeaa7623ae48b5.tar.gz
experimental-d3f7a9d6f1b8f6e24fb49aaa8caeaa7623ae48b5.zip
Apply all Qt3.3.8d patches
NOTE: This will *likely* break compilation of TQt4 Please wait a few days for fixes to be committed as needed!
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqbutton.h')
-rw-r--r--tqtinterface/qt4/src/widgets/tqbutton.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqbutton.h b/tqtinterface/qt4/src/widgets/tqbutton.h
index f75de1a..42088a7 100644
--- a/tqtinterface/qt4/src/widgets/tqbutton.h
+++ b/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