summaryrefslogtreecommitdiffstats
path: root/doc/codesnippets/doc/src/snippets/code/src_corelib_kernel_qabstractitemmodel.cpp
blob: 61ea36233d4193edb9457e811cdd2f64b513f785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//! [0]
beginInsertRows(parent, 2, 4)
//! [0]


//! [1]
beginInsertRows(parent, 4, 5)
//! [1]


//! [2]
beginRemoveRows(parent, 2, 3)
//! [2]


//! [3]
beginInsertColumns(parent, 4, 6)
//! [3]


//! [4]
beginInsertColumns(parent, 6, 8)
//! [4]


//! [5]
beginRemoveColumns(parent, 4, 6)
//! [5]