| 15 | namespace Data { |
| 16 | |
| 17 | SyncthingErrorModel::SyncthingErrorModel(SyncthingConnection &connection, QObject *parent) |
| 18 | : SyncthingModel(connection, parent) |
| 19 | , m_currentChange(Change::None) |
| 20 | { |
| 21 | connect(&m_connection, &SyncthingConnection::beforeNewErrors, this, &SyncthingErrorModel::handleBeforeNewErrors); |
| 22 | connect(&m_connection, &SyncthingConnection::newErrors, this, &SyncthingErrorModel::handleNewErrors); |
| 23 | } |
| 24 | |
| 25 | QHash<int, QByteArray> SyncthingErrorModel::roleNames() const |
| 26 | { |
nothing calls this directly
no outgoing calls
no test coverage detected