refs #614, changed matcher and applied changes

* new function in model list
* removed all models in matcher, only provider data will be used
This commit is contained in:
Klaus Basan
2016-04-01 01:21:59 +02:00
parent bc29514829
commit a5d0453019
8 changed files with 132 additions and 196 deletions

View File

@@ -102,8 +102,17 @@ namespace BlackMisc
int removeModelsWithString(const QStringList &modelStrings, Qt::CaseSensitivity sensitivity);
//! Remove if not matching simulator
//! \return number of elements removed
int removeIfNotMatchingSimulator(const CSimulatorInfo &needToMatch);
//! Remove if having no model string
//! \return number of elements removed
int removeAllWithoutModelString();
//! Remove if excluded CAircraftModel::Exclude
//! \return number of elements removed
int removeIfExcluded();
//! Replace or add based on model string
//! \return number of elements removed
int replaceOrAddModelsWithString(const CAircraftModelList &addOrReplaceList, Qt::CaseSensitivity sensitivity);