大家看一下以下Model/View Programming中的内容(红色)是否有误:
<TR topAlign?>
insertRows()Used to add
new rows and items of data to all types of model. Implementations must call
beginInsertRows() before inserting new rows into any underlying data structures, and call
endInsertRows() immediately afterwards.<TR topAlign?>
removeRows()Used to remove rows and the items of data they contain from all types of model. Implementations must call
beginRemoveRows() before inserting new columns into any underlying data structures, and call
endRemoveRows() immediately afterwards.<TR topAlign?>
insertColumns()Used to add new columns and items of data to table models and hierarchical models. Implementations must call
beginInsertColumns() before rows are removed from any underlying data structures, and call
endInsertColumns() immediately afterwards.<TR topAlign?>
removeColumns()Used to remove columns and the items of data they contain from table models and hierarchical models. Implementations must call
beginRemoveColumns() before columns are removed from any underlying data structures, and call
endRemoveColumns() immediately afterwards.