PropertyBasedTableModel.cpp   PropertyBasedTableModel.cpp 
skipping to change at line 98 skipping to change at line 98
endRemoveRows(); endRemoveRows();
return true; return true;
} }
bool PropertyBasedTableModel::setData(const QModelIndex &index, const QVari ant &value, int role) bool PropertyBasedTableModel::setData(const QModelIndex &index, const QVari ant &value, int role)
{ {
bool changeMade = false; bool changeMade = false;
if (index.isValid() && role == Qt::EditRole && index.column() < mapp ings.size()) { if (index.isValid() && role == Qt::EditRole && index.column() < mapp ings.size()) {
QObject* object = content->at(index.row()); QObject* object = content->at(index.row());
object->setProperty(mappings[index.column()].toStdString().c _str(), value); object->setProperty(mappings[index.column()].toStdString().c _str(), value);
emit(dataChanged(index, index)); emit(QAbstractItemModel::dataChanged(index, index));
changeMade = true; changeMade = true;
} }
return changeMade; return changeMade;
} }
Qt::ItemFlags PropertyBasedTableModel::flags(const QModelIndex &index) cons t Qt::ItemFlags PropertyBasedTableModel::flags(const QModelIndex &index) cons t
{ {
if (!index.isValid()) { if (!index.isValid()) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/