qml/model-view/contact-lst/ContactLst/phonemodel.cpp
// Rows and columns can be added
Rows and columns can be added
Rows and columns can be added
bool PhoneModel::insertRows(int row, int count, const QModelIndex &parent)
{
    beginInsertRows(
        parent,
        row,             
        row + count - 1  
    );
    endInsertRows();
}
bool PhoneModel :: insertRows ( int row , int count , const QModelIndex & parent ) { beginInsertRows ( parent , row , row + count - 1 ) ; endInsertRows ( ) ; }
Rows and columns can be added
Rows and columns can be added
// first index of the new item (row) // and the last "new" index of the items being inserted (row + count - 1). // FIXME: Implement me!