refs #786, follow up / corresponding adjustments based on context changes

* removed reload models menu item
* changed to renamed functions
This commit is contained in:
Klaus Basan
2016-10-23 03:08:43 +02:00
parent c2bf473f3f
commit 514bcdd055
9 changed files with 10 additions and 29 deletions

View File

@@ -53,7 +53,6 @@ namespace BlackCore
public:
//! ISimulator status
//! \todo Qt5.5: Make use of QFlags
enum SimulatorStatusFlag
{
Disconnected = 0,
@@ -114,9 +113,6 @@ namespace BlackCore
//! Display a text message
virtual void displayTextMessage(const BlackMisc::Network::CTextMessage &message) const = 0;
//! Reload the installed models from disk
virtual void reloadInstalledModels() = 0;
//! Airports in range from simulator
virtual BlackMisc::Aviation::CAirportList getAirportsInRange() const = 0;
@@ -178,10 +174,12 @@ namespace BlackCore
static QString statusToString(int status);
//! Status to enum
//! \fixme remove with Qt 5.5 when SimulatorStatus can be transferred via DBus
static SimulatorStatus statusToEnum(int status);
signals:
//! Simulator combined status
//! \fixme with Qt 5.5 make use of QFlags
void simulatorStatusChanged(int status);
//! Emitted when own aircraft model has changed