refs #522, consolidate mutable / make mutable thread safe

* removed mutable wherever possible in GUI classes
* in vPilotReader also renamed some functions and some minor improvements
This commit is contained in:
Klaus Basan
2015-11-25 23:06:14 +01:00
parent 2ee3934cc2
commit a2b413c8e1
15 changed files with 60 additions and 62 deletions

View File

@@ -71,6 +71,7 @@ namespace BlackMisc
int countRulesLoaded() const;
//! Graceful shutdown
//! \threadsafe
void gracefulShutdown();
//! The standard directory for vPilot mappings
@@ -87,11 +88,12 @@ namespace BlackMisc
//! Load data in background thread
//! \threadsafe
BlackMisc::CWorker *readASync(bool convertToModels);
BlackMisc::CWorker *readInBackground(bool convertToModels);
private slots:
//! Asyncronous read finished
void ps_readASyncFinished();
//! \threadsafe
void ps_readInBackgroundFinished();
private:
QStringList m_fileList; //!< list of file names