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

Method roleNames

syncthingmodel/syncthingrecentchangesmodel.cpp:25–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25QHash<int, QByteArray> SyncthingRecentChangesModel::roleNames() const
26{
27 const static QHash<int, QByteArray> roles{
28 { Action, "action" },
29 { ActionIcon, "actionIcon" },
30 { ModifiedBy, "modifiedBy" },
31 { DirectoryId, "directoryId" },
32 { DirectoryName, "directoryName" },
33 { Path, "path" },
34 { EventTime, "eventTime" },
35 { ExtendedAction, "extendedAction" },
36 { ItemType, "itemType" },
37 };
38 return roles;
39}
40
41const QVector<int> &SyncthingRecentChangesModel::colorRoles() const
42{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected