diff options
author | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-10 09:11:17 +0200 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-10 09:11:23 +0200 |
commit | 9456528aac80c6d4c41fa96d88696dc55414b710 (patch) | |
tree | f9fdcc9cd3c7468503590bec7ed082294a0cffde /src/widgets/itemviews/qabstractitemview.cpp | |
parent | 75552c8f62dcfb8012c306b37c79ec629448d780 (diff) | |
parent | ee38dec6f3aff6f7f277323c5c8488d4cd385693 (diff) |
Merge branch 'docs-refactoring' into master
Change-Id: Iebd1966abace3cdf7f9428dcfc1ded5b124ab113
Diffstat (limited to 'src/widgets/itemviews/qabstractitemview.cpp')
-rw-r--r-- | src/widgets/itemviews/qabstractitemview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/itemviews/qabstractitemview.cpp b/src/widgets/itemviews/qabstractitemview.cpp index 2ff039595a..777767ee70 100644 --- a/src/widgets/itemviews/qabstractitemview.cpp +++ b/src/widgets/itemviews/qabstractitemview.cpp @@ -308,7 +308,7 @@ void QAbstractItemViewPrivate::_q_scrollerStateChanged() setVerticalScrollMode(). To set the range of the scroll bars, you can, for example, reimplement the view's resizeEvent() function: - \snippet doc/src/snippets/code/src_gui_itemviews_qabstractitemview.cpp 0 + \snippet code/src_gui_itemviews_qabstractitemview.cpp 0 Note that the range is not updated until the widget is shown. @@ -654,7 +654,7 @@ QAbstractItemView::~QAbstractItemView() views. We recommend that you delete the old selection model if it is no longer required. This is done with the following code: - \snippet doc/src/snippets/code/src_gui_itemviews_qabstractitemview.cpp 2 + \snippet code/src_gui_itemviews_qabstractitemview.cpp 2 If both the old model and the old selection model do not have parents, or if their parents are long-lived objects, it may be preferable to call their @@ -3124,7 +3124,7 @@ void QAbstractItemView::closePersistentEditor(const QModelIndex &index) deleted. For example, in the code snippet below, the QLineEdit object will be deleted. - \snippet doc/src/snippets/code/src_gui_itemviews_qabstractitemview.cpp 1 + \snippet code/src_gui_itemviews_qabstractitemview.cpp 1 This function should only be used to display static content within the visible area corresponding to an item of data. If you want to display |