MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / SyncthingErrorModel

Method SyncthingErrorModel

syncthingmodel/syncthingerrormodel.cpp:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace Data {
16
17SyncthingErrorModel::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
25QHash<int, QByteArray> SyncthingErrorModel::roleNames() const
26{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected