| 23 | } |
| 24 | |
| 25 | QHash<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 | |
| 41 | const QVector<int> &SyncthingRecentChangesModel::colorRoles() const |
| 42 | { |
nothing calls this directly
no outgoing calls
no test coverage detected