-// inlines
-QModelIndex MessageModel::index(int row, int column, const QModelIndex &parent) const {
- if(row < 0 || row >= rowCount(parent) || column < 0 || column >= columnCount(parent))
- return QModelIndex();
-
- return createIndex(row, column);
-}
-