summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2012-08-15 13:13:33 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-15 15:30:07 +0200
commitb5a24adb26227b47dd17b6d266d5d26ab32d5ccd (patch)
tree1aba6db1739c0a111c9a94894047bbb196aad6e7 /src/widgets/kernel
parent76cec118d0636c66ec7c3e62f475128ea8fd7429 (diff)
Documentation for QWidgetItem::controlTypes.
Change-Id: I673b884ac8513714d733411729a7418c19f05682 Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Diffstat (limited to 'src/widgets/kernel')
-rw-r--r--src/widgets/kernel/qlayoutitem.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/widgets/kernel/qlayoutitem.cpp b/src/widgets/kernel/qlayoutitem.cpp
index cf220796c5..bf25259243 100644
--- a/src/widgets/kernel/qlayoutitem.cpp
+++ b/src/widgets/kernel/qlayoutitem.cpp
@@ -675,6 +675,12 @@ bool QWidgetItem::isEmpty() const
return wid->isHidden() || wid->isWindow();
}
+/*!
+ Returns the control type associated with the widget for which
+ this size policy applies.
+
+ \sa QSizePolicy::controlType()
+ */
QSizePolicy::ControlTypes QWidgetItem::controlTypes() const
{
return wid->sizePolicy().controlType();