diff options
author | Jerome Pasion <jerome.pasion@nokia.com> | 2012-07-27 18:30:10 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-30 10:54:06 +0200 |
commit | a90f11dbfcf0bfa6bd1a110c7878d01596646a23 (patch) | |
tree | dcfecc43a397d382332b2e2ebada01bbf6537e4c /src/declarative/graphicsitems | |
parent | 3b64f4d9a4c48f4e9cf19a446c551790f2658278 (diff) | |
download | qtquick1-a90f11dbfcf0bfa6bd1a110c7878d01596646a23.tar.gz |
Doc: Changed \qmlclass to \qmltype and added \instantiates
-\qmlclass is now \qmltype
-\instantiates is for QML types implemented in C++
Change-Id: I017822524de1879d272d777ec7681f4233128b01
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'src/declarative/graphicsitems')
24 files changed, 96 insertions, 48 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeanimatedimage.cpp b/src/declarative/graphicsitems/qdeclarativeanimatedimage.cpp index 7472242d..7efab822 100644 --- a/src/declarative/graphicsitems/qdeclarativeanimatedimage.cpp +++ b/src/declarative/graphicsitems/qdeclarativeanimatedimage.cpp @@ -54,7 +54,8 @@ QT_BEGIN_NAMESPACE /*! - \qmlclass AnimatedImage QDeclarativeAnimatedImage + \qmltype AnimatedImage + \instantiates QDeclarativeAnimatedImage \inherits Image \since 4.7 \ingroup basic-visual-elements diff --git a/src/declarative/graphicsitems/qdeclarativeborderimage.cpp b/src/declarative/graphicsitems/qdeclarativeborderimage.cpp index 490330c1..db8bbf16 100644 --- a/src/declarative/graphicsitems/qdeclarativeborderimage.cpp +++ b/src/declarative/graphicsitems/qdeclarativeborderimage.cpp @@ -53,7 +53,8 @@ QT_BEGIN_NAMESPACE /*! - \qmlclass BorderImage QDeclarativeBorderImage + \qmltype BorderImage + \instantiates QDeclarativeBorderImage \brief The BorderImage element provides an image that can be used as a border. \inherits Item \since 4.7 diff --git a/src/declarative/graphicsitems/qdeclarativeevents.cpp b/src/declarative/graphicsitems/qdeclarativeevents.cpp index 6ba97cb7..791970d8 100644 --- a/src/declarative/graphicsitems/qdeclarativeevents.cpp +++ b/src/declarative/graphicsitems/qdeclarativeevents.cpp @@ -43,7 +43,8 @@ QT_BEGIN_NAMESPACE /*! - \qmlclass KeyEvent QDeclarativeKeyEvent + \qmltype KeyEvent + \instantiates QDeclarativeKeyEvent \since 4.7 \ingroup qml-event-elements @@ -138,7 +139,8 @@ Item { /*! - \qmlclass MouseEvent QDeclarativeMouseEvent + \qmltype MouseEvent + \instantiates QDeclarativeMouseEvent \since 4.7 \ingroup qml-event-elements diff --git a/src/declarative/graphicsitems/qdeclarativeflickable.cpp b/src/declarative/graphicsitems/qdeclarativeflickable.cpp index bfc121b0..e114b4ee 100644 --- a/src/declarative/graphicsitems/qdeclarativeflickable.cpp +++ b/src/declarative/graphicsitems/qdeclarativeflickable.cpp @@ -425,7 +425,8 @@ void QDeclarativeFlickablePrivate::updateBeginningEnd() } /*! - \qmlclass Flickable QDeclarativeFlickable + \qmltype Flickable + \instantiates QDeclarativeFlickable \since 4.7 \ingroup qml-basic-interaction-elements diff --git a/src/declarative/graphicsitems/qdeclarativeflipable.cpp b/src/declarative/graphicsitems/qdeclarativeflipable.cpp index 9ae680c2..9a9de455 100644 --- a/src/declarative/graphicsitems/qdeclarativeflipable.cpp +++ b/src/declarative/graphicsitems/qdeclarativeflipable.cpp @@ -68,7 +68,8 @@ public: }; /*! - \qmlclass Flipable QDeclarativeFlipable + \qmltype Flipable + \instantiates QDeclarativeFlipable \since 4.7 \ingroup qml-basic-interaction-elements \brief The Flipable item provides a surface that can be flipped. diff --git a/src/declarative/graphicsitems/qdeclarativefocuspanel.cpp b/src/declarative/graphicsitems/qdeclarativefocuspanel.cpp index a907ee0a..e6e85222 100644 --- a/src/declarative/graphicsitems/qdeclarativefocuspanel.cpp +++ b/src/declarative/graphicsitems/qdeclarativefocuspanel.cpp @@ -49,7 +49,8 @@ QT_BEGIN_NAMESPACE /*! - \qmlclass FocusPanel QDeclarativeFocusPanel + \qmltype FocusPanel + \instantiates QDeclarativeFocusPanel \since 4.7 \ingroup qml-basic-interaction-elements diff --git a/src/declarative/graphicsitems/qdeclarativefocusscope.cpp b/src/declarative/graphicsitems/qdeclarativefocusscope.cpp index 13d89156..bb92b152 100644 --- a/src/declarative/graphicsitems/qdeclarativefocusscope.cpp +++ b/src/declarative/graphicsitems/qdeclarativefocusscope.cpp @@ -46,7 +46,8 @@ QT_BEGIN_NAMESPACE /*! - \qmlclass FocusScope QDeclarativeFocusScope + \qmltype FocusScope + \instantiates QDeclarativeFocusScope \since 4.7 \ingroup qml-basic-interaction-elements diff --git a/src/declarative/graphicsitems/qdeclarativegridview.cpp b/src/declarative/graphicsitems/qdeclarativegridview.cpp index 99ab192d..c4e1fcfe 100644 --- a/src/declarative/graphicsitems/qdeclarativegridview.cpp +++ b/src/declarative/graphicsitems/qdeclarativegridview.cpp @@ -1270,7 +1270,8 @@ void QDeclarativeGridViewPrivate::flick(AxisData &data, qreal minExtent, qreal m //---------------------------------------------------------------------------- /*! - \qmlclass GridView QDeclarativeGridView + \qmltype GridView + \instantiates QDeclarativeGridView \since 4.7 \ingroup qml-view-elements diff --git a/src/declarative/graphicsitems/qdeclarativeimage.cpp b/src/declarative/graphicsitems/qdeclarativeimage.cpp index 375b9503..e5010d85 100644 --- a/src/declarative/graphicsitems/qdeclarativeimage.cpp +++ b/src/declarative/graphicsitems/qdeclarativeimage.cpp @@ -49,7 +49,8 @@ QT_BEGIN_NAMESPACE /*! - \qmlclass Image QDeclarativeImage + \qmltype Image + \instantiates QDeclarativeImage \since 4.7 \ingroup qml-basic-visual-elements \brief The Image element displays an image in a declarative user interface diff --git a/src/declarative/graphicsitems/qdeclarativeitem.cpp b/src/declarative/graphicsitems/qdeclarativeitem.cpp index b86d0e1a..dc7fb71c 100644 --- a/src/declarative/graphicsitems/qdeclarativeitem.cpp +++ b/src/declarative/graphicsitems/qdeclarativeitem.cpp @@ -68,7 +68,8 @@ QT_BEGIN_NAMESPACE /*! - \qmlclass Transform QGraphicsTransform + \qmltype Transform + \instantiates QGraphicsTransform \ingroup qml-transform-elements \since 4.7 \brief The Transform elements provide a way of building advanced transformations on Items. @@ -90,7 +91,8 @@ QT_BEGIN_NAMESPACE */ /*! - \qmlclass Translate QDeclarativeTranslate + \qmltype Translate + \instantiates QDeclarativeTranslate \ingroup qml-transform-elements \since 4.7 \brief The Translate object provides a way to move an Item without changing its x or y properties. @@ -132,7 +134,8 @@ QT_BEGIN_NAMESPACE */ /*! - \qmlclass Scale QGraphicsScale + \qmltype Scale + \instantiates QGraphicsScale \ingroup qml-transform-elements \since 4.7 \brief The Scale element provides a way to scale an Item. @@ -174,7 +177,8 @@ QT_BEGIN_NAMESPACE */ /*! - \qmlclass Rotation QGraphicsRotation + \qmltype Rotation + \instantiates QGraphicsRotation \ingroup qml-transform-elements \since 4.7 \brief The Rotation object provides a way to rotate an Item. @@ -416,7 +420,8 @@ void QDeclarativeItemKeyFilter::componentComplete() /*! - \qmlclass KeyNavigation QDeclarativeKeyNavigationAttached + \qmltype KeyNavigation + \instantiates QDeclarativeKeyNavigationAttached \ingroup qml-basic-interaction-elements \since 4.7 \brief The KeyNavigation attached property supports key navigation by arrow keys. @@ -743,7 +748,8 @@ void QDeclarativeKeyNavigationAttached::setFocusNavigation(QDeclarativeItem *cur } /*! - \qmlclass LayoutMirroring QDeclarativeLayoutMirroringAttached + \qmltype LayoutMirroring + \instantiates QDeclarativeLayoutMirroringAttached \since QtQuick 1.1 \ingroup qml-utility-elements \brief The LayoutMirroring attached property is used to mirror layout behavior. @@ -907,7 +913,8 @@ void QDeclarativeItemPrivate::setLayoutMirror(bool mirror) } /*! - \qmlclass Keys QDeclarativeKeysAttached + \qmltype Keys + \instantiates QDeclarativeKeysAttached \ingroup qml-basic-interaction-elements \since 4.7 \brief The Keys attached property provides key handling to Items. @@ -1514,7 +1521,8 @@ QDeclarativeKeysAttached *QDeclarativeKeysAttached::qmlAttachedProperties(QObjec */ /*! - \qmlclass Item QDeclarativeItem + \qmltype Item + \instantiates QDeclarativeItem \ingroup qml-basic-visual-elements \since 4.7 \brief The Item is the most basic of all visual items in QML. diff --git a/src/declarative/graphicsitems/qdeclarativelayoutitem.cpp b/src/declarative/graphicsitems/qdeclarativelayoutitem.cpp index 3d333314..f1b3f7f6 100644 --- a/src/declarative/graphicsitems/qdeclarativelayoutitem.cpp +++ b/src/declarative/graphicsitems/qdeclarativelayoutitem.cpp @@ -48,7 +48,8 @@ QT_BEGIN_NAMESPACE /*! - \qmlclass LayoutItem QDeclarativeLayoutItem + \qmltype LayoutItem + \instantiates QDeclarativeLayoutItem \ingroup qml-utility-elements \since 4.7 \brief The LayoutItem element allows declarative UI elements to be placed inside Qt's Graphics View layouts. diff --git a/src/declarative/graphicsitems/qdeclarativelistview.cpp b/src/declarative/graphicsitems/qdeclarativelistview.cpp index 1062e37f..73a34799 100644 --- a/src/declarative/graphicsitems/qdeclarativelistview.cpp +++ b/src/declarative/graphicsitems/qdeclarativelistview.cpp @@ -1560,7 +1560,8 @@ void QDeclarativeListViewPrivate::flick(AxisData &data, qreal minExtent, qreal m //---------------------------------------------------------------------------- /*! - \qmlclass ListView QDeclarativeListView + \qmltype ListView + \instantiates QDeclarativeListView \ingroup qml-view-elements \since 4.7 \inherits Flickable diff --git a/src/declarative/graphicsitems/qdeclarativeloader.cpp b/src/declarative/graphicsitems/qdeclarativeloader.cpp index b6cd323d..162e1dcb 100644 --- a/src/declarative/graphicsitems/qdeclarativeloader.cpp +++ b/src/declarative/graphicsitems/qdeclarativeloader.cpp @@ -117,7 +117,8 @@ void QDeclarativeLoaderPrivate::initResize() } /*! - \qmlclass Loader QDeclarativeLoader + \qmltype Loader + \instantiates QDeclarativeLoader \ingroup qml-utility-elements \since 4.7 \inherits Item diff --git a/src/declarative/graphicsitems/qdeclarativemousearea.cpp b/src/declarative/graphicsitems/qdeclarativemousearea.cpp index b0a48615..96f8a82b 100644 --- a/src/declarative/graphicsitems/qdeclarativemousearea.cpp +++ b/src/declarative/graphicsitems/qdeclarativemousearea.cpp @@ -179,7 +179,8 @@ QDeclarativeMouseAreaPrivate::~QDeclarativeMouseAreaPrivate() } /*! - \qmlclass MouseArea QDeclarativeMouseArea + \qmltype MouseArea + \instantiates QDeclarativeMouseArea \ingroup qml-basic-interaction-elements \since 4.7 \brief The MouseArea item enables simple mouse handling. diff --git a/src/declarative/graphicsitems/qdeclarativepath.cpp b/src/declarative/graphicsitems/qdeclarativepath.cpp index 0b7c1458..e1fd5122 100644 --- a/src/declarative/graphicsitems/qdeclarativepath.cpp +++ b/src/declarative/graphicsitems/qdeclarativepath.cpp @@ -52,7 +52,8 @@ QT_BEGIN_NAMESPACE /*! - \qmlclass PathElement QDeclarativePathElement + \qmltype PathElement + \instantiates QDeclarativePathElement \ingroup qml-view-elements \since 4.7 \brief PathElement is the base path type. @@ -64,7 +65,8 @@ QT_BEGIN_NAMESPACE */ /*! - \qmlclass Path QDeclarativePath + \qmltype Path + \instantiates QDeclarativePath \ingroup qml-view-elements \since 4.7 \brief A Path object defines a path for use by \l PathView. @@ -492,7 +494,8 @@ void QDeclarativeCurve::setY(qreal y) /****************************************************************************/ /*! - \qmlclass PathAttribute QDeclarativePathAttribute + \qmltype PathAttribute + \instantiates QDeclarativePathAttribute \ingroup qml-view-elements \since 4.7 \brief The PathAttribute allows setting an attribute at a given position in a Path. @@ -608,7 +611,8 @@ void QDeclarativePathAttribute::setValue(qreal value) /****************************************************************************/ /*! - \qmlclass PathLine QDeclarativePathLine + \qmltype PathLine + \instantiates QDeclarativePathLine \ingroup qml-view-elements \since 4.7 \brief The PathLine defines a straight line. @@ -641,7 +645,8 @@ void QDeclarativePathLine::addToPath(QPainterPath &path) /****************************************************************************/ /*! - \qmlclass PathQuad QDeclarativePathQuad + \qmltype PathQuad + \instantiates QDeclarativePathQuad \ingroup qml-view-elements \since 4.7 \brief The PathQuad defines a quadratic Bezier curve with a control point. @@ -719,7 +724,8 @@ void QDeclarativePathQuad::addToPath(QPainterPath &path) /****************************************************************************/ /*! - \qmlclass PathCubic QDeclarativePathCubic + \qmltype PathCubic + \instantiates QDeclarativePathCubic \ingroup qml-view-elements \since 4.7 \brief The PathCubic defines a cubic Bezier curve with two control points. @@ -827,7 +833,8 @@ void QDeclarativePathCubic::addToPath(QPainterPath &path) /****************************************************************************/ /*! - \qmlclass PathPercent QDeclarativePathPercent + \qmltype PathPercent + \instantiates QDeclarativePathPercent \ingroup qml-view-elements \since 4.7 \brief The PathPercent manipulates the way a path is interpreted. diff --git a/src/declarative/graphicsitems/qdeclarativepathview.cpp b/src/declarative/graphicsitems/qdeclarativepathview.cpp index 0d4d1caf..d96fd18e 100644 --- a/src/declarative/graphicsitems/qdeclarativepathview.cpp +++ b/src/declarative/graphicsitems/qdeclarativepathview.cpp @@ -347,7 +347,8 @@ void QDeclarativePathViewPrivate::regenerate() } /*! - \qmlclass PathView QDeclarativePathView + \qmltype PathView + \instantiates QDeclarativePathView \ingroup qml-view-elements \since 4.7 \brief The PathView element lays out model-provided items on a path. diff --git a/src/declarative/graphicsitems/qdeclarativepincharea.cpp b/src/declarative/graphicsitems/qdeclarativepincharea.cpp index adff025f..b4b0e6db 100644 --- a/src/declarative/graphicsitems/qdeclarativepincharea.cpp +++ b/src/declarative/graphicsitems/qdeclarativepincharea.cpp @@ -52,7 +52,8 @@ QT_BEGIN_NAMESPACE /*! - \qmlclass PinchEvent QDeclarativePinchEvent + \qmltype PinchEvent + \instantiates QDeclarativePinchEvent \ingroup qml-event-elements \brief The PinchEvent object provides information about a pinch event. @@ -160,7 +161,8 @@ QDeclarativePinchAreaPrivate::~QDeclarativePinchAreaPrivate() } /*! - \qmlclass PinchArea QDeclarativePinchArea + \qmltype PinchArea + \instantiates QDeclarativePinchArea \brief The PinchArea item enables simple pinch gesture handling. \inherits Item diff --git a/src/declarative/graphicsitems/qdeclarativepositioners.cpp b/src/declarative/graphicsitems/qdeclarativepositioners.cpp index 41605b87..936213c7 100644 --- a/src/declarative/graphicsitems/qdeclarativepositioners.cpp +++ b/src/declarative/graphicsitems/qdeclarativepositioners.cpp @@ -322,7 +322,8 @@ void QDeclarativeBasePositioner::finishApplyTransitions() } /*! - \qmlclass Column QDeclarativeColumn + \qmltype Column + \instantiates QDeclarativeColumn \ingroup qml-positioning-elements \since 4.7 \brief The Column item arranges its children vertically. @@ -486,7 +487,8 @@ void QDeclarativeColumn::reportConflictingAnchors() } /*! - \qmlclass Row QDeclarativeRow + \qmltype Row + \instantiates QDeclarativeRow \ingroup qml-positioning-elements \since 4.7 \brief The Row item arranges its children horizontally. @@ -700,7 +702,8 @@ void QDeclarativeRow::reportConflictingAnchors() } /*! - \qmlclass Grid QDeclarativeGrid + \qmltype Grid + \instantiates QDeclarativeGrid \ingroup qml-positioning-elements \since 4.7 \brief The Grid item positions its children in a grid. @@ -1085,7 +1088,8 @@ void QDeclarativeGrid::reportConflictingAnchors() } /*! - \qmlclass Flow QDeclarativeFlow + \qmltype Flow + \instantiates QDeclarativeFlow \ingroup qml-positioning-elements \since 4.7 \brief The Flow item arranges its children side by side, wrapping as necessary. diff --git a/src/declarative/graphicsitems/qdeclarativerectangle.cpp b/src/declarative/graphicsitems/qdeclarativerectangle.cpp index 167da0ff..3562d05b 100644 --- a/src/declarative/graphicsitems/qdeclarativerectangle.cpp +++ b/src/declarative/graphicsitems/qdeclarativerectangle.cpp @@ -87,7 +87,8 @@ void QDeclarativePen::setWidth(int w) /*! - \qmlclass GradientStop QDeclarativeGradientStop + \qmltype GradientStop + \instantiates QDeclarativeGradientStop \ingroup qml-basic-visual-elements \since 4.7 \brief The GradientStop item defines the color at a position in a Gradient. @@ -114,7 +115,8 @@ void QDeclarativeGradientStop::updateGradient() } /*! - \qmlclass Gradient QDeclarativeGradient + \qmltype Gradient + \instantiates QDeclarativeGradient \ingroup qml-basic-visual-elements \since 4.7 \brief The Gradient item defines a gradient fill. @@ -196,7 +198,8 @@ void QDeclarativeGradient::doUpdate() /*! - \qmlclass Rectangle QDeclarativeRectangle + \qmltype Rectangle + \instantiates QDeclarativeRectangle \ingroup qml-basic-visual-elements \since 4.7 \brief The Rectangle item provides a filled rectangle with an optional border. diff --git a/src/declarative/graphicsitems/qdeclarativerepeater.cpp b/src/declarative/graphicsitems/qdeclarativerepeater.cpp index 07950fba..76d730ff 100644 --- a/src/declarative/graphicsitems/qdeclarativerepeater.cpp +++ b/src/declarative/graphicsitems/qdeclarativerepeater.cpp @@ -61,7 +61,8 @@ QDeclarativeRepeaterPrivate::~QDeclarativeRepeaterPrivate() } /*! - \qmlclass Repeater QDeclarativeRepeater + \qmltype Repeater + \instantiates QDeclarativeRepeater \ingroup qml-utility-elements \since 4.7 \inherits Item diff --git a/src/declarative/graphicsitems/qdeclarativetext.cpp b/src/declarative/graphicsitems/qdeclarativetext.cpp index e668d4f7..a776a1b4 100644 --- a/src/declarative/graphicsitems/qdeclarativetext.cpp +++ b/src/declarative/graphicsitems/qdeclarativetext.cpp @@ -664,7 +664,8 @@ QPixmap QDeclarativeTextPrivate::drawOutline(const QPixmap &source, const QPixma } /*! - \qmlclass Text QDeclarativeText + \qmltype Text + \instantiates QDeclarativeText \ingroup qml-basic-visual-elements \since 4.7 \brief The Text item allows you to add formatted text to a scene. diff --git a/src/declarative/graphicsitems/qdeclarativetextedit.cpp b/src/declarative/graphicsitems/qdeclarativetextedit.cpp index 978e25db..05f7b823 100644 --- a/src/declarative/graphicsitems/qdeclarativetextedit.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextedit.cpp @@ -63,7 +63,8 @@ QT_BEGIN_NAMESPACE /*! - \qmlclass TextEdit QDeclarativeTextEdit + \qmltype TextEdit + \instantiates QDeclarativeTextEdit \ingroup qml-basic-visual-elements \since 4.7 \brief The TextEdit item displays multiple lines of editable formatted text. diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp index 5f9d1b76..c3491ceb 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp @@ -61,7 +61,8 @@ QT_BEGIN_NAMESPACE /*! - \qmlclass TextInput QDeclarativeTextInput + \qmltype TextInput + \instantiates QDeclarativeTextInput \ingroup qml-basic-visual-elements \since 4.7 \brief The TextInput item displays an editable line of text. @@ -682,7 +683,8 @@ void QDeclarativeTextInput::setAutoScroll(bool b) } /*! - \qmlclass IntValidator QIntValidator + \qmltype IntValidator + \instantiates QIntValidator \ingroup qml-basic-visual-elements This element provides a validator for integer values. @@ -706,7 +708,8 @@ void QDeclarativeTextInput::setAutoScroll(bool b) */ /*! - \qmlclass DoubleValidator QDoubleValidator + \qmltype DoubleValidator + \instantiates QDoubleValidator \ingroup qml-basic-visual-elements This element provides a validator for non-integer numbers. @@ -745,7 +748,8 @@ void QDeclarativeTextInput::setAutoScroll(bool b) */ /*! - \qmlclass RegExpValidator QRegExpValidator + \qmltype RegExpValidator + \instantiates QRegExpValidator \ingroup qml-basic-visual-elements This element provides a validator, which counts as valid any string which diff --git a/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp b/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp index 2c4e8641..aeaa27ca 100644 --- a/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp +++ b/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp @@ -127,7 +127,8 @@ public: /*! - \qmlclass VisualItemModel QDeclarativeVisualItemModel + \qmltype VisualItemModel + \instantiates QDeclarativeVisualItemModel \ingroup qml-working-with-data \since 4.7 \brief The VisualItemModel allows items to be provided to a view. @@ -641,7 +642,8 @@ QDeclarativeVisualDataModelData *QDeclarativeVisualDataModelPrivate::data(QObjec //--------------------------------------------------------------------------- /*! - \qmlclass VisualDataModel QDeclarativeVisualDataModel + \qmltype VisualDataModel + \instantiates QDeclarativeVisualDataModel \ingroup qml-working-with-data \brief The VisualDataModel encapsulates a model and delegate |