summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-05-04 12:24:27 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-05-04 12:24:27 (GMT)
commitd93ac74d40f18e0670580ed923bdae2b3c6e9fbb (patch)
tree1bbda17e59f090832780ecd2458a4ab154f50aa8 /doc/src/snippets
parent4d3604813bff632de6c319567c0f34375d9c6dc0 (diff)
parent64f1241f6419ca5e8e26a84db1e2f055f9919d1e (diff)
downloadQt-d93ac74d40f18e0670580ed923bdae2b3c6e9fbb.zip
Qt-d93ac74d40f18e0670580ed923bdae2b3c6e9fbb.tar.gz
Qt-d93ac74d40f18e0670580ed923bdae2b3c6e9fbb.tar.bz2
Merge commit 'refs/merge-requests/2379' of git://gitorious.org/qt/qt into integration
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/code/src_corelib_kernel_qabstractitemmodel.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/src/snippets/code/src_corelib_kernel_qabstractitemmodel.cpp b/doc/src/snippets/code/src_corelib_kernel_qabstractitemmodel.cpp
index 22ea240..e3ad483 100644
--- a/doc/src/snippets/code/src_corelib_kernel_qabstractitemmodel.cpp
+++ b/doc/src/snippets/code/src_corelib_kernel_qabstractitemmodel.cpp
@@ -67,3 +67,23 @@ beginInsertColumns(parent, 6, 8);
//! [5]
beginRemoveColumns(parent, 4, 6);
//! [5]
+
+
+//! [6]
+beginMoveRows(sourceParent, 2, 4, destinationParent, 2);
+//! [6]
+
+
+//! [7]
+beginMoveRows(sourceParent, 2, 4, destinationParent, 6);
+//! [7]
+
+
+//! [8]
+beginMoveRows(parent, 2, 2, parent, 0);
+//! [8]
+
+
+//! [9]
+beginMoveRows(parent, 2, 2, parent, 4);
+//! [9]