mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-10 05:55:33 +08:00
refs #618, allow to update/add models based on model string
* functionality in list * access via view * fixed count for changed objects in datastoreobjectlist (now detects replacements)
This commit is contained in:
@@ -92,6 +92,10 @@ namespace BlackMisc
|
||||
//! \return number of elements removed
|
||||
int removeModelsWithString(const QStringList &modelStrings, Qt::CaseSensitivity sensitivity);
|
||||
|
||||
//! Replace or add based on model string
|
||||
//! \return number of elements removed
|
||||
int replaceOrAddModelsWithString(const CAircraftModelList &addOrReplaceList, Qt::CaseSensitivity sensitivity);
|
||||
|
||||
//! Model strings
|
||||
QStringList getModelStrings(bool sort = true) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user