diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-06-23 23:27:08 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-06-23 23:27:08 (GMT) |
commit | 168abf1f3165f0a6d83f747c46f3d3241b1a405f (patch) | |
tree | 401f87361a147baf9d1c707fd3f6c60324230db7 /src/declarative/graphicsitems/qdeclarativepathview.cpp | |
parent | 79c2f9d676d782212fb17f9158604e8158c47a22 (diff) | |
download | Qt-168abf1f3165f0a6d83f747c46f3d3241b1a405f.zip Qt-168abf1f3165f0a6d83f747c46f3d3241b1a405f.tar.gz Qt-168abf1f3165f0a6d83f747c46f3d3241b1a405f.tar.bz2 |
doc: note that calling methods before component completion may have no effect
So use Component.onCompleted:
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativepathview.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativepathview.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativepathview.cpp b/src/declarative/graphicsitems/qdeclarativepathview.cpp index 0c2d249..0e980b3 100644 --- a/src/declarative/graphicsitems/qdeclarativepathview.cpp +++ b/src/declarative/graphicsitems/qdeclarativepathview.cpp @@ -552,6 +552,8 @@ void QDeclarativePathView::setCurrentIndex(int idx) \qmlmethod PathView::incrementCurrentIndex() Increments the current index. + + \bold Note: methods should only be called after the Component has completed. */ void QDeclarativePathView::incrementCurrentIndex() { @@ -563,6 +565,8 @@ void QDeclarativePathView::incrementCurrentIndex() \qmlmethod PathView::decrementCurrentIndex() Decrements the current index. + + \bold Note: methods should only be called after the Component has completed. */ void QDeclarativePathView::decrementCurrentIndex() { |