MCPcopy Create free account
hub / github.com/KDE/kid3 / FileSystemModelSorter

Method FileSystemModelSorter

src/core/model/filesystemmodel.cpp:1052–1057  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1050{
1051public:
1052 explicit FileSystemModelSorter(int column, bool ignorePunctuation = false) : sortColumn(column)
1053 {
1054 naturalCompare.setIgnorePunctuation(ignorePunctuation);
1055 naturalCompare.setNumericMode(true);
1056 naturalCompare.setCaseSensitivity(Qt::CaseInsensitive);
1057 }
1058
1059 bool compareNodes(const FileSystemModelPrivate::FileSystemNode *l,
1060 const FileSystemModelPrivate::FileSystemNode *r) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected