diff options
author | Martin Smith <msmith@trolltech.com> | 2010-03-05 12:08:03 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2010-03-05 12:08:03 (GMT) |
commit | f4de94df2d55d0ea967bb7aea275cc5228ac045b (patch) | |
tree | 760cbf5479268983e7673d4a89c8b2adad18763a /src/declarative/util/qdeclarativeview.cpp | |
parent | 20c7b2776133a9b3531ac711dd4f4be2d0523ddd (diff) | |
download | Qt-f4de94df2d55d0ea967bb7aea275cc5228ac045b.zip Qt-f4de94df2d55d0ea967bb7aea275cc5228ac045b.tar.gz Qt-f4de94df2d55d0ea967bb7aea275cc5228ac045b.tar.bz2 |
doc: Fixed some QML qdoc errors.
Diffstat (limited to 'src/declarative/util/qdeclarativeview.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativeview.cpp | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/declarative/util/qdeclarativeview.cpp b/src/declarative/util/qdeclarativeview.cpp index cd67aeb..735a009 100644 --- a/src/declarative/util/qdeclarativeview.cpp +++ b/src/declarative/util/qdeclarativeview.cpp @@ -221,7 +221,7 @@ void QDeclarativeViewPrivate::execute() */ /*! \fn void QDeclarativeView::statusChanged(QDeclarativeView::Status status) - This signal is emitted when the component's current \l{QDeclarativeView::Status} {status} changes. + This signal is emitted when the component's current \a status changes. */ /*! @@ -283,6 +283,12 @@ QDeclarativeView::~QDeclarativeView() delete d->root; } +/*! \property QDeclarativeView::source + \brief The URL of the source of the QML component. + + Changing this property causes the QML component to be reloaded. + */ + /*! Sets the source to the \a url, loads the QML component and instantiates it. @@ -326,7 +332,6 @@ QDeclarativeContext* QDeclarativeView::rootContext() return d->engine.rootContext(); } - /*! \enum QDeclarativeView::Status @@ -338,6 +343,14 @@ QDeclarativeContext* QDeclarativeView::rootContext() \value Error An error has occured. Calling errorDescription() to retrieve a description. */ +/*! \enum QDeclarativeView::ResizeMode + + This enum specifies how to resize the view. + + \value SizeViewToRootObject + \value SizeRootObjectToView +*/ + /*! \property QDeclarativeView::status The component's current \l{QDeclarativeView::Status} {status}. @@ -376,8 +389,6 @@ QList<QDeclarativeError> QDeclarativeView::errors() const Regardless of this property, the sizeHint of the view is the initial size of the root item. Note though that since QML may load dynamically, that size may change. - - \sa initialSize() */ void QDeclarativeView::setResizeMode(ResizeMode mode) |