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>
This commit is contained in:
Frederik Gladhorn 2012-08-15 13:13:33 +02:00 committed by Qt by Nokia
parent 76cec118d0
commit b5a24adb26

View File

@ -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();