aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicklistview.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@digia.com>2013-10-01 13:03:28 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-02 14:40:01 +0200
commit4706b1ceff9af9141044ed3cf020ce5624bfa40f (patch)
tree43672217a945512ddd1704468d1fd4b6e9c153c7 /src/quick/items/qquicklistview.cpp
parent4f50ab594aa2fb1d38981127beca634ad3396489 (diff)
qdoc: no longer recognizes the version nr in QML refs
All QML references of the form <QML-module-name><QML-module-version>::<QML-type>::<member-name> have had the <QML-module-version> removed i. Task-number: QTBUG-33776 Change-Id: Idde279e0f254cd24ea44f9841662dd81a2c5bbc6 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/quick/items/qquicklistview.cpp')
-rw-r--r--src/quick/items/qquicklistview.cpp112
1 files changed, 56 insertions, 56 deletions
diff --git a/src/quick/items/qquicklistview.cpp b/src/quick/items/qquicklistview.cpp
index af66a40fcd..22d8176086 100644
--- a/src/quick/items/qquicklistview.cpp
+++ b/src/quick/items/qquicklistview.cpp
@@ -1756,7 +1756,7 @@ QQuickListView::~QQuickListView()
}
/*!
- \qmlattachedproperty bool QtQuick2::ListView::isCurrentItem
+ \qmlattachedproperty bool QtQuick::ListView::isCurrentItem
This attached property is true if this delegate is the current item; otherwise false.
It is attached to each instance of the delegate.
@@ -1767,14 +1767,14 @@ QQuickListView::~QQuickListView()
*/
/*!
- \qmlattachedproperty ListView QtQuick2::ListView::view
+ \qmlattachedproperty ListView QtQuick::ListView::view
This attached property holds the view that manages this delegate instance.
It is attached to each instance of the delegate.
*/
/*!
- \qmlattachedproperty string QtQuick2::ListView::previousSection
+ \qmlattachedproperty string QtQuick::ListView::previousSection
This attached property holds the section of the previous element.
It is attached to each instance of the delegate.
@@ -1783,7 +1783,7 @@ QQuickListView::~QQuickListView()
*/
/*!
- \qmlattachedproperty string QtQuick2::ListView::nextSection
+ \qmlattachedproperty string QtQuick::ListView::nextSection
This attached property holds the section of the next element.
It is attached to each instance of the delegate.
@@ -1792,7 +1792,7 @@ QQuickListView::~QQuickListView()
*/
/*!
- \qmlattachedproperty string QtQuick2::ListView::section
+ \qmlattachedproperty string QtQuick::ListView::section
This attached property holds the section of this element.
It is attached to each instance of the delegate.
@@ -1801,7 +1801,7 @@ QQuickListView::~QQuickListView()
*/
/*!
- \qmlattachedproperty bool QtQuick2::ListView::delayRemove
+ \qmlattachedproperty bool QtQuick::ListView::delayRemove
This attached property holds whether the delegate may be destroyed. It
is attached to each instance of the delegate. The default value is false.
@@ -1817,7 +1817,7 @@ QQuickListView::~QQuickListView()
*/
/*!
- \qmlattachedsignal QtQuick2::ListView::onAdd()
+ \qmlattachedsignal QtQuick::ListView::onAdd()
This attached signal handler is called immediately after an item is added to the view.
If an \l add transition is specified, it is applied immediately after
@@ -1825,7 +1825,7 @@ QQuickListView::~QQuickListView()
*/
/*!
- \qmlattachedsignal QtQuick2::ListView::onRemove()
+ \qmlattachedsignal QtQuick::ListView::onRemove()
This attached handler is called immediately before an item is removed from the view.
If a \l remove transition has been specified, it is applied after
@@ -1833,7 +1833,7 @@ QQuickListView::~QQuickListView()
*/
/*!
- \qmlproperty model QtQuick2::ListView::model
+ \qmlproperty model QtQuick::ListView::model
This property holds the model providing data for the list.
The model provides the set of data that is used to create the items
@@ -1845,7 +1845,7 @@ QQuickListView::~QQuickListView()
*/
/*!
- \qmlproperty Component QtQuick2::ListView::delegate
+ \qmlproperty Component QtQuick::ListView::delegate
The delegate provides a template defining each item instantiated by the view.
The index is exposed as an accessible \c index property. Properties of the
@@ -1867,8 +1867,8 @@ QQuickListView::~QQuickListView()
State should \e never be stored in a delegate.
*/
/*!
- \qmlproperty int QtQuick2::ListView::currentIndex
- \qmlproperty Item QtQuick2::ListView::currentItem
+ \qmlproperty int QtQuick::ListView::currentIndex
+ \qmlproperty Item QtQuick::ListView::currentItem
The \c currentIndex property holds the index of the current item, and
\c currentItem holds the current item. Setting the currentIndex to -1
@@ -1883,7 +1883,7 @@ QQuickListView::~QQuickListView()
*/
/*!
- \qmlproperty Item QtQuick2::ListView::highlightItem
+ \qmlproperty Item QtQuick::ListView::highlightItem
This holds the highlight item created from the \l highlight component.
@@ -1894,12 +1894,12 @@ QQuickListView::~QQuickListView()
*/
/*!
- \qmlproperty int QtQuick2::ListView::count
+ \qmlproperty int QtQuick::ListView::count
This property holds the number of items in the view.
*/
/*!
- \qmlproperty Component QtQuick2::ListView::highlight
+ \qmlproperty Component QtQuick::ListView::highlight
This property holds the component to use as the highlight.
An instance of the highlight component is created for each list.
@@ -1911,7 +1911,7 @@ QQuickListView::~QQuickListView()
*/
/*!
- \qmlproperty bool QtQuick2::ListView::highlightFollowsCurrentItem
+ \qmlproperty bool QtQuick::ListView::highlightFollowsCurrentItem
This property holds whether the highlight is managed by the view.
If this property is true (the default value), the highlight is moved smoothly
@@ -1931,9 +1931,9 @@ QQuickListView::~QQuickListView()
*/
//###Possibly rename these properties, since they are very useful even without a highlight?
/*!
- \qmlproperty real QtQuick2::ListView::preferredHighlightBegin
- \qmlproperty real QtQuick2::ListView::preferredHighlightEnd
- \qmlproperty enumeration QtQuick2::ListView::highlightRangeMode
+ \qmlproperty real QtQuick::ListView::preferredHighlightBegin
+ \qmlproperty real QtQuick::ListView::preferredHighlightEnd
+ \qmlproperty enumeration QtQuick::ListView::highlightRangeMode
These properties define the preferred range of the highlight (for the current item)
within the view. The \c preferredHighlightBegin value must be less than the
@@ -1975,7 +1975,7 @@ void QQuickListView::setHighlightFollowsCurrentItem(bool autoHighlight)
}
/*!
- \qmlproperty real QtQuick2::ListView::spacing
+ \qmlproperty real QtQuick::ListView::spacing
This property holds the spacing between items.
@@ -1998,7 +1998,7 @@ void QQuickListView::setSpacing(qreal spacing)
}
/*!
- \qmlproperty enumeration QtQuick2::ListView::orientation
+ \qmlproperty enumeration QtQuick::ListView::orientation
This property holds the orientation of the list.
Possible values:
@@ -2044,7 +2044,7 @@ void QQuickListView::setOrientation(QQuickListView::Orientation orientation)
}
/*!
- \qmlproperty enumeration QtQuick2::ListView::layoutDirection
+ \qmlproperty enumeration QtQuick::ListView::layoutDirection
This property holds the layout direction of a horizontally-oriented list.
Possible values:
@@ -2061,7 +2061,7 @@ void QQuickListView::setOrientation(QQuickListView::Orientation orientation)
/*!
- \qmlproperty enumeration QtQuick2::ListView::effectiveLayoutDirection
+ \qmlproperty enumeration QtQuick::ListView::effectiveLayoutDirection
This property holds the effective layout direction of a horizontally-oriented list.
When using the attached property \l {LayoutMirroring::enabled}{LayoutMirroring::enabled} for locale layouts,
@@ -2073,7 +2073,7 @@ void QQuickListView::setOrientation(QQuickListView::Orientation orientation)
/*!
- \qmlproperty enumeration QtQuick2::ListView::verticalLayoutDirection
+ \qmlproperty enumeration QtQuick::ListView::verticalLayoutDirection
This property holds the layout direction of a vertically-oriented list.
Possible values:
@@ -2090,7 +2090,7 @@ void QQuickListView::setOrientation(QQuickListView::Orientation orientation)
/*!
- \qmlproperty bool QtQuick2::ListView::keyNavigationWraps
+ \qmlproperty bool QtQuick::ListView::keyNavigationWraps
This property holds whether the list wraps key navigation.
If this is true, key navigation that would move the current item selection
@@ -2102,7 +2102,7 @@ void QQuickListView::setOrientation(QQuickListView::Orientation orientation)
/*!
- \qmlproperty int QtQuick2::ListView::cacheBuffer
+ \qmlproperty int QtQuick::ListView::cacheBuffer
This property determines whether delegates are retained outside the
visible area of the view.
@@ -2129,10 +2129,10 @@ void QQuickListView::setOrientation(QQuickListView::Orientation orientation)
/*!
- \qmlproperty string QtQuick2::ListView::section.property
- \qmlproperty enumeration QtQuick2::ListView::section.criteria
- \qmlproperty Component QtQuick2::ListView::section.delegate
- \qmlproperty enumeration QtQuick2::ListView::section.labelPositioning
+ \qmlproperty string QtQuick::ListView::section.property
+ \qmlproperty enumeration QtQuick::ListView::section.criteria
+ \qmlproperty Component QtQuick::ListView::section.delegate
+ \qmlproperty enumeration QtQuick::ListView::section.labelPositioning
These properties determine the expression to be evaluated and appearance
of the section labels.
@@ -2203,7 +2203,7 @@ QQuickViewSection *QQuickListView::sectionCriteria()
}
/*!
- \qmlproperty string QtQuick2::ListView::currentSection
+ \qmlproperty string QtQuick::ListView::currentSection
This property holds the section that is currently at the beginning of the view.
*/
QString QQuickListView::currentSection() const
@@ -2213,10 +2213,10 @@ QString QQuickListView::currentSection() const
}
/*!
- \qmlproperty real QtQuick2::ListView::highlightMoveVelocity
- \qmlproperty int QtQuick2::ListView::highlightMoveDuration
- \qmlproperty real QtQuick2::ListView::highlightResizeVelocity
- \qmlproperty int QtQuick2::ListView::highlightResizeDuration
+ \qmlproperty real QtQuick::ListView::highlightMoveVelocity
+ \qmlproperty int QtQuick::ListView::highlightMoveDuration
+ \qmlproperty real QtQuick::ListView::highlightResizeVelocity
+ \qmlproperty int QtQuick::ListView::highlightResizeDuration
These properties control the speed of the move and resize animations for the
highlight delegate.
@@ -2294,7 +2294,7 @@ void QQuickListView::setHighlightResizeDuration(int duration)
}
/*!
- \qmlproperty enumeration QtQuick2::ListView::snapMode
+ \qmlproperty enumeration QtQuick::ListView::snapMode
This property determines how the view scrolling will settle following a drag or flick.
The possible values are:
@@ -2332,7 +2332,7 @@ void QQuickListView::setSnapMode(SnapMode mode)
/*!
- \qmlproperty Component QtQuick2::ListView::footer
+ \qmlproperty Component QtQuick::ListView::footer
This property holds the component to use as the footer.
An instance of the footer component is created for each view. The
@@ -2343,7 +2343,7 @@ void QQuickListView::setSnapMode(SnapMode mode)
/*!
- \qmlproperty Component QtQuick2::ListView::header
+ \qmlproperty Component QtQuick::ListView::header
This property holds the component to use as the header.
An instance of the header component is created for each view. The
@@ -2353,7 +2353,7 @@ void QQuickListView::setSnapMode(SnapMode mode)
*/
/*!
- \qmlproperty Item QtQuick2::ListView::headerItem
+ \qmlproperty Item QtQuick::ListView::headerItem
This holds the header item created from the \l header component.
An instance of the header component is created for each view. The
@@ -2363,7 +2363,7 @@ void QQuickListView::setSnapMode(SnapMode mode)
*/
/*!
- \qmlproperty Item QtQuick2::ListView::footerItem
+ \qmlproperty Item QtQuick::ListView::footerItem
This holds the footer item created from the \l footer component.
An instance of the footer component is created for each view. The
@@ -2373,7 +2373,7 @@ void QQuickListView::setSnapMode(SnapMode mode)
*/
/*!
- \qmlproperty Transition QtQuick2::ListView::populate
+ \qmlproperty Transition QtQuick::ListView::populate
This property holds the transition to apply to the items that are initially created
for a view.
@@ -2407,7 +2407,7 @@ void QQuickListView::setSnapMode(SnapMode mode)
*/
/*!
- \qmlproperty Transition QtQuick2::ListView::add
+ \qmlproperty Transition QtQuick::ListView::add
This property holds the transition to apply to items that are added to the view.
@@ -2441,7 +2441,7 @@ void QQuickListView::setSnapMode(SnapMode mode)
*/
/*!
- \qmlproperty Transition QtQuick2::ListView::addDisplaced
+ \qmlproperty Transition QtQuick::ListView::addDisplaced
This property holds the transition to apply to items within the view that are displaced by
the addition of other items to the view.
@@ -2480,7 +2480,7 @@ void QQuickListView::setSnapMode(SnapMode mode)
*/
/*!
- \qmlproperty Transition QtQuick2::ListView::move
+ \qmlproperty Transition QtQuick::ListView::move
This property holds the transition to apply to items in the view that are being moved due
to a move operation in the view's \l model.
@@ -2509,7 +2509,7 @@ void QQuickListView::setSnapMode(SnapMode mode)
*/
/*!
- \qmlproperty Transition QtQuick2::ListView::moveDisplaced
+ \qmlproperty Transition QtQuick::ListView::moveDisplaced
This property holds the transition to apply to items that are displaced by a move operation in
the view's \l model.
@@ -2545,7 +2545,7 @@ void QQuickListView::setSnapMode(SnapMode mode)
*/
/*!
- \qmlproperty Transition QtQuick2::ListView::remove
+ \qmlproperty Transition QtQuick::ListView::remove
This property holds the transition to apply to items that are removed from the view.
@@ -2582,7 +2582,7 @@ void QQuickListView::setSnapMode(SnapMode mode)
*/
/*!
- \qmlproperty Transition QtQuick2::ListView::removeDisplaced
+ \qmlproperty Transition QtQuick::ListView::removeDisplaced
This property holds the transition to apply to items in the view that are displaced by the
removal of other items in the view.
@@ -2617,7 +2617,7 @@ void QQuickListView::setSnapMode(SnapMode mode)
*/
/*!
- \qmlproperty Transition QtQuick2::ListView::displaced
+ \qmlproperty Transition QtQuick::ListView::displaced
This property holds the generic transition to apply to items that have been displaced by
any model operation that affects the view.
@@ -2816,7 +2816,7 @@ void QQuickListView::initItem(int index, QObject *object)
/*!
- \qmlmethod QtQuick2::ListView::incrementCurrentIndex()
+ \qmlmethod QtQuick::ListView::incrementCurrentIndex()
Increments the current index. The current index will wrap
if keyNavigationWraps is true and it is currently at the end.
@@ -2836,7 +2836,7 @@ void QQuickListView::incrementCurrentIndex()
}
/*!
- \qmlmethod QtQuick2::ListView::decrementCurrentIndex()
+ \qmlmethod QtQuick::ListView::decrementCurrentIndex()
Decrements the current index. The current index will wrap
if keyNavigationWraps is true and it is currently at the beginning.
@@ -3023,7 +3023,7 @@ void QQuickListViewPrivate::translateAndTransitionItemsAfter(int afterModelIndex
}
/*!
- \qmlmethod QtQuick2::ListView::positionViewAtIndex(int index, PositionMode mode)
+ \qmlmethod QtQuick::ListView::positionViewAtIndex(int index, PositionMode mode)
Positions the view such that the \a index is at the position specified by
\a mode:
@@ -3060,8 +3060,8 @@ void QQuickListViewPrivate::translateAndTransitionItemsAfter(int afterModelIndex
*/
/*!
- \qmlmethod QtQuick2::ListView::positionViewAtBeginning()
- \qmlmethod QtQuick2::ListView::positionViewAtEnd()
+ \qmlmethod QtQuick::ListView::positionViewAtBeginning()
+ \qmlmethod QtQuick::ListView::positionViewAtEnd()
Positions the view at the beginning or end, taking into account any header or footer.
@@ -3080,7 +3080,7 @@ void QQuickListViewPrivate::translateAndTransitionItemsAfter(int afterModelIndex
*/
/*!
- \qmlmethod int QtQuick2::ListView::indexAt(int x, int y)
+ \qmlmethod int QtQuick::ListView::indexAt(int x, int y)
Returns the index of the visible item containing the point \a x, \a y in content
coordinates. If there is no item at the point specified, or the item is
@@ -3093,7 +3093,7 @@ void QQuickListViewPrivate::translateAndTransitionItemsAfter(int afterModelIndex
*/
/*!
- \qmlmethod Item QtQuick2::ListView::itemAt(int x, int y)
+ \qmlmethod Item QtQuick::ListView::itemAt(int x, int y)
Returns the visible item containing the point \a x, \a y in content
coordinates. If there is no item at the point specified, or the item is
@@ -3106,7 +3106,7 @@ void QQuickListViewPrivate::translateAndTransitionItemsAfter(int afterModelIndex
*/
/*!
- \qmlmethod QtQuick2::ListView::forceLayout()
+ \qmlmethod QtQuick::ListView::forceLayout()
Responding to changes in the model is usually batched to happen only once
per frame. This means that inside script blocks it is possible for the