From b5a24adb26227b47dd17b6d266d5d26ab32d5ccd Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Wed, 15 Aug 2012 13:13:33 +0200 Subject: [PATCH] Documentation for QWidgetItem::controlTypes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I673b884ac8513714d733411729a7418c19f05682 Reviewed-by: Gabriel de Dietrich Reviewed-by: Thorbjørn Lund Martsum --- src/widgets/kernel/qlayoutitem.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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();