| 25 | } |
| 26 | |
| 27 | void ModelSignalMapperConnector::connectSignals(QAbstractItemModel *model) |
| 28 | { |
| 29 | connect(model, SIGNAL(destroyed()), this, SLOT(resetModel())); |
| 30 | connect(model, SIGNAL(columnsInserted(QModelIndex, int, int)), this, SLOT(columnsInserted(QModelIndex, int, int))); |
| 31 | connect(model, SIGNAL(columnsRemoved(QModelIndex, int, int)), this, SLOT(columnsRemoved(QModelIndex, int, int))); |
| 32 | connect(model, SIGNAL(dataChanged(QModelIndex, QModelIndex)), this, SLOT(dataChanged(QModelIndex, QModelIndex))); |
| 33 | connect(model, SIGNAL(layoutChanged()), this, SLOT(layoutChanged())); |
| 34 | connect(model, SIGNAL(modelReset()), this, SLOT(modelReset())); |
| 35 | connect(model, SIGNAL(rowsInserted(QModelIndex, int, int)), this, SLOT(rowsInserted(QModelIndex, int, int))); |
| 36 | connect(model, SIGNAL(rowsRemoved(QModelIndex, int, int)), this, SLOT(rowsRemoved(QModelIndex, int, int))); |
| 37 | } |
| 38 | |
| 39 | void ModelSignalMapperConnector::disconnectSignals(QAbstractItemModel *model) |
| 40 | { |
nothing calls this directly
no outgoing calls
no test coverage detected