Read the docs properly, they are of great help.
From the docs -
and as for you, count shud be 20,,,get the point ??bool QAbstractItemModel::insertRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) [virtual]
On models that support this, inserts count rows into the model before the given row.




Reply With Quote
Bookmarks