Read the docs properly, they are of great help.
From the docs -
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.
and as for you, count shud be 20,,,get the point ??