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

Method columnCount

syncthingmodel/syncthingrecentchangesmodel.cpp:169–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169int SyncthingRecentChangesModel::columnCount(const QModelIndex &parent) const
170{
171 if (!parent.isValid()) {
172 return 4; // action, device, folder, path
173 } else {
174 return 0;
175 }
176}
177
178void SyncthingRecentChangesModel::fileChanged(const SyncthingDir &dir, int index, const SyncthingFileChange &change)
179{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected