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

Method SyncthingDeviceModel

syncthingmodel/syncthingdevicemodel.cpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25SyncthingDeviceModel::SyncthingDeviceModel(SyncthingConnection &connection, QObject *parent)
26 : SyncthingModel(connection, parent)
27 , m_devs(connection.devInfo())
28{
29 updateRowCount();
30 connect(&m_connection, &SyncthingConnection::devStatusChanged, this, &SyncthingDeviceModel::devStatusChanged);
31}
32
33QHash<int, QByteArray> SyncthingDeviceModel::roleNames() const
34{

Callers

nothing calls this directly

Calls 1

devInfoMethod · 0.80

Tested by

no test coverage detected