summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-07 19:25:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-07 19:25:16 +0000
commit77ead0ba5f91ad6fd04fca1ab1e2b6847bf88136 (patch)
tree82bf3c5b668e0d2f2f3649421e2934a1b9896d53 /qtinterface/tqwidget.cpp
parent0630a9067e5db373c6fd33bbe8145e29f18e9a54 (diff)
downloadtqtinterface-77ead0ba5f91ad6fd04fca1ab1e2b6847bf88136.tar.gz
tqtinterface-77ead0ba5f91ad6fd04fca1ab1e2b6847bf88136.zip
Yet more Qt4 API extensions...
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1160323 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tqwidget.cpp')
-rw-r--r--qtinterface/tqwidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtinterface/tqwidget.cpp b/qtinterface/tqwidget.cpp
index 69c48bc..bfa02a4 100644
--- a/qtinterface/tqwidget.cpp
+++ b/qtinterface/tqwidget.cpp
@@ -28,4 +28,8 @@ Qt::WidgetAttribute QWidget::testWState( Qt::WidgetAttribute s ) const {
return (Qt::WidgetAttribute)(data->widget_attributes & s);
}
+Qt::WindowFlags QWidget::testWFlags( Qt::WindowFlags f ) const {
+ return (Qt::WindowFlags)(data->window_flags & f);
+}
+
#endif // USE_QT4 \ No newline at end of file