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

Method SyncthingDirectoryModel

syncthingmodel/syncthingdirectorymodel.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22SyncthingDirectoryModel::SyncthingDirectoryModel(SyncthingConnection &connection, QObject *parent)
23 : SyncthingModel(connection, parent)
24 , m_dirs(connection.dirInfo())
25{
26 updateRowCount();
27 connect(&m_connection, &SyncthingConnection::dirStatusChanged, this, &SyncthingDirectoryModel::dirStatusChanged);
28}
29
30QHash<int, QByteArray> SyncthingDirectoryModel::roleNames() const
31{

Callers

nothing calls this directly

Calls 1

dirInfoMethod · 0.45

Tested by

no test coverage detected