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:
Klaus Basan
2016-03-22 08:03:36 +01:00
parent 7beb5661a3
commit 6fdddf8f93
5 changed files with 36 additions and 2 deletions

View File

@@ -64,6 +64,9 @@ namespace BlackGui
//! Remove models with model strings
int removeModelsWithModelString(const BlackMisc::Simulation::CAircraftModelList &models, Qt::CaseSensitivity sensitivity = Qt::CaseInsensitive);
//! Replace models with sme model string, otherwise add
int replaceOrAddModelsWithString(const BlackMisc::Simulation::CAircraftModelList &models, Qt::CaseSensitivity sensitivity = Qt::CaseInsensitive);
//! \copydoc BlackGui::Models::CAircraftModelListModel::setHighlightModelStrings(const QStringList &)
void setHighlightModelStrings(const QStringList &highlightModels);