diff options
Diffstat (limited to 'qtinterface/tqwidget.cpp')
-rw-r--r-- | qtinterface/tqwidget.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qtinterface/tqwidget.cpp b/qtinterface/tqwidget.cpp index 2eacecc..69c48bc 100644 --- a/qtinterface/tqwidget.cpp +++ b/qtinterface/tqwidget.cpp @@ -21,3 +21,11 @@ Boston, MA 02110-1301, USA. #include <tqt.h> #include <tqwidget.h> + +#ifdef USE_QT4 + +Qt::WidgetAttribute QWidget::testWState( Qt::WidgetAttribute s ) const { + return (Qt::WidgetAttribute)(data->widget_attributes & s); +} + +#endif // USE_QT4
\ No newline at end of file |