diff options
author | Martin Smith <msmith@trolltech.com> | 2010-01-28 07:48:02 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2010-01-28 07:48:02 (GMT) |
commit | aa854adabedbe5ff95d02c0371ae90d85921061c (patch) | |
tree | 4c6e9c21c0d3954a74dae2dd140bbad9e83fb3d6 /src/gui | |
parent | 634eac05a6475280f2a1cc6e41e23c0c35628247 (diff) | |
download | Qt-aa854adabedbe5ff95d02c0371ae90d85921061c.zip Qt-aa854adabedbe5ff95d02c0371ae90d85921061c.tar.gz Qt-aa854adabedbe5ff95d02c0371ae90d85921061c.tar.bz2 |
doc: Document the "Type" enum value as a const in variable.
Task-number: QTBUG-7605
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp index 1ea69fb..b633b41 100644 --- a/src/gui/graphicsview/qgraphicsitem.cpp +++ b/src/gui/graphicsview/qgraphicsitem.cpp @@ -268,6 +268,17 @@ */ /*! + \variable QGraphicsItem::Type + + The type value returned by the virtual type() function in standard + graphics item classes in Qt. All such standard graphics item + classes in Qt are associated with a unique value for Type, + e.g. the value returned by QGraphicsPathItem::type() is 2. + + \snippet doc/src/snippets/code/src_gui_graphicsview_qgraphicsitem.cpp 18 +*/ + +/*! \variable QGraphicsItem::UserType The lowest permitted type value for custom items (subclasses |