mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Ref T442, utility functions for logically sorting by suffix
This commit is contained in:
@@ -88,7 +88,12 @@ namespace BlackMisc
|
||||
int removeByCallsigns(const CCallsignSet &callsigns);
|
||||
|
||||
//! All suffixes with their respective count
|
||||
QMap<QString, int> getSuffixes() const;
|
||||
//! \remark since using QMap sorted by suffix
|
||||
QMap<QString, int> getSuffixesAndCount() const;
|
||||
|
||||
//! All suffixes, in the order of the list
|
||||
//! \remark first found suffixes first
|
||||
QStringList getSuffixes() const;
|
||||
|
||||
//! Split into 0..n containers as per callsign
|
||||
QHash<CCallsign, CONTAINER> splitPerCallsign() const;
|
||||
|
||||
Reference in New Issue
Block a user