mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
Fix doxygen copydoc documentation
The following issues were fixed * Fixed wrong/missing namespaces * Fixed obvious typos in documentation * Documentation not in sync with source code refs #544
This commit is contained in:
@@ -64,7 +64,7 @@ namespace BlackCore
|
||||
//! \copydoc IContextApplication::registerApplication
|
||||
virtual BlackMisc::CIdentifier registerApplication(const BlackMisc::CIdentifier &application) override;
|
||||
|
||||
//! \copydoc IContextApplication::unRegisterApplication
|
||||
//! \copydoc IContextApplication::unregisterApplication
|
||||
virtual void unregisterApplication(const BlackMisc::CIdentifier &application) override;
|
||||
|
||||
//! \copydoc IContextApplication::getRegisteredApplications
|
||||
|
||||
@@ -82,28 +82,28 @@ namespace BlackCore
|
||||
//! \copydoc IContextAudio::setCurrentAudioDevice()
|
||||
virtual void setCurrentAudioDevice(const BlackMisc::Audio::CAudioDeviceInfo &audioDevice) override;
|
||||
|
||||
//! \copydoc IContext::setVoiceOutputVolume
|
||||
//! \copydoc IContextAudio::setVoiceOutputVolume
|
||||
virtual void setVoiceOutputVolume(int volume) override;
|
||||
|
||||
//! \copydoc IContext::getVoiceOutputVolume
|
||||
//! \copydoc IContextAudio::getVoiceOutputVolume
|
||||
virtual int getVoiceOutputVolume() const override;
|
||||
|
||||
//! \copydoc ICOntext::setMute
|
||||
//! \copydoc IContextAudio::setMute
|
||||
virtual void setMute(bool muted) override;
|
||||
|
||||
//! \copydoc IContextAudio::isMuted()
|
||||
virtual bool isMuted() const override;
|
||||
|
||||
//! \copydoc IContextAudio::playSelcalTone()
|
||||
//! \copydoc IContextAudio::playSelcalTone
|
||||
virtual void playSelcalTone(const BlackMisc::Aviation::CSelcal &selcal) const override;
|
||||
|
||||
//! \copydoc IContextAudio::playNotification()
|
||||
//! \copydoc IContextAudio::playNotification
|
||||
virtual void playNotification(BlackMisc::Audio::CNotificationSounds::Notification notification, bool considerSettings) const override;
|
||||
|
||||
//! \copydoc IContextAudio::enableAudioLoopback()
|
||||
//! \copydoc IContextAudio::enableAudioLoopback
|
||||
virtual void enableAudioLoopback(bool enable = true) override;
|
||||
|
||||
//! \copydoc ICOntextAudio::isAudioLoopbackEnabled
|
||||
//! \copydoc IContextAudio::isAudioLoopbackEnabled
|
||||
virtual bool isAudioLoopbackEnabled() const override;
|
||||
|
||||
//! \addtogroup commandline
|
||||
|
||||
@@ -84,10 +84,10 @@ namespace BlackCore
|
||||
//! \copydoc IContextAudio::setCurrentAudioDevice()
|
||||
virtual void setCurrentAudioDevice(const BlackMisc::Audio::CAudioDeviceInfo &audioDevice) override;
|
||||
|
||||
//!\copydoc IContext::setVoiceOutputVolume
|
||||
//!\copydoc IContextAudio::setVoiceOutputVolume
|
||||
virtual void setVoiceOutputVolume(int volume) override;
|
||||
|
||||
//! \copydoc IContext::getVoiceOutputVolume
|
||||
//! \copydoc IContextAudio::getVoiceOutputVolume
|
||||
virtual int getVoiceOutputVolume() const override;
|
||||
|
||||
//! \copydoc IContextAudio::setMute
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace BlackCore
|
||||
//! \ingroup remoteaircraftprovider
|
||||
virtual BlackMisc::Aviation::CCallsignSet remoteAircraftSupportingParts() const override;
|
||||
|
||||
//! \copydoc BlackMisc::Simulation::IRemoteAircraftProvider::connectSignals
|
||||
//! \copydoc BlackMisc::Simulation::IRemoteAircraftProvider::connectRemoteAircraftProviderSignals
|
||||
//! \ingroup remoteaircraftprovider
|
||||
virtual QList<QMetaObject::Connection> connectRemoteAircraftProviderSignals(
|
||||
QObject *receiver,
|
||||
@@ -117,7 +117,7 @@ namespace BlackCore
|
||||
//! \copydoc IContextNetwork::getAtcStationsBooked()
|
||||
virtual BlackMisc::Aviation::CAtcStationList getAtcStationsBooked() const override;
|
||||
|
||||
//! \copydoc IContextNetwork::getAircraftInRange
|
||||
//! \copydoc BlackMisc::Simulation::IRemoteAircraftProvider::getAircraftInRange
|
||||
//! \ingroup remoteaircraftprovider
|
||||
virtual BlackMisc::Simulation::CSimulatedAircraftList getAircraftInRange() const override;
|
||||
|
||||
@@ -125,11 +125,11 @@ namespace BlackCore
|
||||
//! \ingroup remoteaircraftprovider
|
||||
virtual int getAircraftInRangeCount() const override;
|
||||
|
||||
//! \copydoc IContextNetwork::getAircraftInRangeForCallsign
|
||||
//! \copydoc BlackMisc::Simulation::IRemoteAircraftProvider::getAircraftInRangeForCallsign
|
||||
//! \ingroup remoteaircraftprovider
|
||||
virtual BlackMisc::Simulation::CSimulatedAircraft getAircraftInRangeForCallsign(const BlackMisc::Aviation::CCallsign &callsign) const override;
|
||||
|
||||
//! \copydoc IContextNetwork::getAircraftinRangeModelForCallsign
|
||||
//! \copydoc BlackMisc::Simulation::IRemoteAircraftProvider::getAircraftInRangeModelForCallsign
|
||||
//! \ingroup remoteaircraftprovider
|
||||
virtual BlackMisc::Simulation::CAircraftModel getAircraftInRangeModelForCallsign(const BlackMisc::Aviation::CCallsign &callsign) const override;
|
||||
|
||||
@@ -186,13 +186,13 @@ namespace BlackCore
|
||||
//! \copydoc IContextNetwork::getUsersForCallsigns
|
||||
virtual BlackMisc::Network::CUserList getUsersForCallsigns(const BlackMisc::Aviation::CCallsignSet &callsigns) const override;
|
||||
|
||||
//! \copydoc IContextNetwork::getUsersForCallsign
|
||||
//! \copydoc IContextNetwork::getUserForCallsign
|
||||
virtual BlackMisc::Network::CUser getUserForCallsign(const BlackMisc::Aviation::CCallsign &callsign) const override;
|
||||
|
||||
//! \copydoc IContextNetwork::getOtherClients
|
||||
virtual BlackMisc::Network::CClientList getOtherClients() const override;
|
||||
|
||||
//! \copydoc IContextNetwork::getOtherClientForCallsigns
|
||||
//! \copydoc IContextNetwork::getOtherClientsForCallsigns
|
||||
virtual BlackMisc::Network::CClientList getOtherClientsForCallsigns(const BlackMisc::Aviation::CCallsignSet &callsigns) const override;
|
||||
|
||||
//! \copydoc IContextNetwork::getVatsimFsdServers
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace BlackCore
|
||||
//! \copydoc IContextNetwork::getVatsimFsdServers
|
||||
virtual BlackMisc::Network::CServerList getVatsimFsdServers() const override;
|
||||
|
||||
//! \copydoc IContextNetwork::getOtherClientForCallsigns
|
||||
//! \copydoc IContextNetwork::getOtherClientsForCallsigns
|
||||
virtual BlackMisc::Network::CClientList getOtherClientsForCallsigns(const BlackMisc::Aviation::CCallsignSet &callsigns) const override;
|
||||
|
||||
//! \copydoc IContextNetwork::requestDataUpdates
|
||||
|
||||
@@ -41,31 +41,31 @@ namespace BlackCore
|
||||
//! Destructor
|
||||
virtual ~CContextOwnAircraft();
|
||||
|
||||
//! \copydoc IOwnAircraftProvider::getOwnAircraftPosition
|
||||
//! \copydoc BlackMisc::Simulation::IOwnAircraftProvider::getOwnAircraftPosition
|
||||
//! \ingroup ownaircraftprovider
|
||||
virtual BlackMisc::Geo::CCoordinateGeodetic getOwnAircraftPosition() const override;
|
||||
|
||||
//! \copydoc IOwnAircraftProvider::getOwnAircraftParts
|
||||
//! \copydoc BlackMisc::Simulation::IOwnAircraftProvider::getOwnAircraftParts
|
||||
//! \ingroup ownaircraftprovider
|
||||
virtual BlackMisc::Aviation::CAircraftParts getOwnAircraftParts() const;
|
||||
|
||||
//! \copydoc IOwnAircraftProvider::getOwnAircraftModel
|
||||
//! \copydoc BlackMisc::Simulation::IOwnAircraftProvider::getOwnAircraftModel
|
||||
//! \ingroup ownaircraftprovider
|
||||
virtual BlackMisc::Simulation::CAircraftModel getOwnAircraftModel() const;
|
||||
|
||||
//! \copydoc IOwnAircraftProvider::getDistanceToOwnAircraft
|
||||
//! \copydoc BlackMisc::Simulation::IOwnAircraftProvider::getDistanceToOwnAircraft
|
||||
//! \ingroup ownaircraftprovider
|
||||
virtual BlackMisc::PhysicalQuantities::CLength getDistanceToOwnAircraft(const BlackMisc::Geo::ICoordinateGeodetic &position) const override;
|
||||
|
||||
//! \copydoc IOwnAircraftProvider::updateOwnModel
|
||||
//! \copydoc BlackMisc::Simulation::IOwnAircraftProvider::updateOwnModel
|
||||
//! \ingroup ownaircraftprovider
|
||||
virtual bool updateOwnModel(const BlackMisc::Simulation::CAircraftModel &model) override;
|
||||
|
||||
//! \copydoc IOwnAircraftProvider::updateOwnSituation
|
||||
//! \copydoc BlackMisc::Simulation::IOwnAircraftProvider::updateOwnSituation
|
||||
//! \ingroup ownaircraftprovider
|
||||
virtual bool updateOwnSituation(const BlackMisc::Aviation::CAircraftSituation &situation) override;
|
||||
|
||||
//! \copydoc IOwnAircraftProvider::updateOwnParts
|
||||
//! \copydoc BlackMisc::Simulation::IOwnAircraftProvider::updateOwnParts
|
||||
//! \ingroup ownaircraftprovider
|
||||
virtual bool updateOwnParts(const BlackMisc::Aviation::CAircraftParts &parts) override;
|
||||
|
||||
@@ -82,7 +82,7 @@ namespace BlackCore
|
||||
//! \ingroup ownaircraftprovider
|
||||
virtual bool updateOwnIcaoCodes(const BlackMisc::Aviation::CAircraftIcaoCode &aircraftIcaoCode, const BlackMisc::Aviation::CAirlineIcaoCode &airlineIcaoCode) override;
|
||||
|
||||
//! \copydoc IContextOwnAircraft::updatePosition
|
||||
//! \copydoc IContextOwnAircraft::updateOwnPosition
|
||||
virtual bool updateOwnPosition(const BlackMisc::Geo::CCoordinateGeodetic &position, const BlackMisc::Aviation::CAltitude &altitude) override;
|
||||
|
||||
//! \copydoc IContextOwnAircraft::updateCockpit
|
||||
@@ -91,10 +91,10 @@ namespace BlackCore
|
||||
//! \copydoc IContextOwnAircraft::updateSelcal
|
||||
virtual bool updateSelcal(const BlackMisc::Aviation::CSelcal &selcal, const BlackMisc::CIdentifier &originator) override;
|
||||
|
||||
//! \copydoc IContextOwnAircraft::updateComFrequency
|
||||
//! \copydoc IContextOwnAircraft::updateActiveComFrequency
|
||||
virtual bool updateActiveComFrequency(const BlackMisc::PhysicalQuantities::CFrequency &frequency, BlackMisc::Aviation::CComSystem::ComUnit comUnit, const BlackMisc::CIdentifier &originator) override;
|
||||
|
||||
//! \copydoc IContextOwnAircraft::updatePilot
|
||||
//! \copydoc IContextOwnAircraft::updateOwnAircraftPilot
|
||||
virtual bool updateOwnAircraftPilot(const BlackMisc::Network::CUser &pilot) override;
|
||||
|
||||
//! \copydoc IContextOwnAircraft::setAudioOutputVolume
|
||||
|
||||
@@ -35,16 +35,16 @@ namespace BlackCore
|
||||
//! \copydoc IContextOwnAircraft::getOwnAircraft()
|
||||
virtual BlackMisc::Simulation::CSimulatedAircraft getOwnAircraft() const override;
|
||||
|
||||
//! \copydoc IContextOwnAircraft::updatePosition
|
||||
//! \copydoc IContextOwnAircraft::updateOwnPosition
|
||||
virtual bool updateOwnPosition(const BlackMisc::Geo::CCoordinateGeodetic &position, const BlackMisc::Aviation::CAltitude &altitude) override;
|
||||
|
||||
//! \copydoc IContextOwnAircraft::updateCockpit
|
||||
virtual bool updateCockpit(const BlackMisc::Aviation::CComSystem &com1, const BlackMisc::Aviation::CComSystem &com2, const BlackMisc::Aviation::CTransponder &transponder, const BlackMisc::CIdentifier &originator) override;
|
||||
|
||||
//! \copydoc IContextOwnAircraft::updateComFrequency
|
||||
//! \copydoc IContextOwnAircraft::updateActiveComFrequency
|
||||
virtual bool updateActiveComFrequency(const BlackMisc::PhysicalQuantities::CFrequency &frequency, BlackMisc::Aviation::CComSystem::ComUnit comUnit, const BlackMisc::CIdentifier &originator) override;
|
||||
|
||||
//! \copydoc IContextOwnAircraft::updatePilot
|
||||
//! \copydoc IContextOwnAircraft::updateOwnAircraftPilot
|
||||
virtual bool updateOwnAircraftPilot(const BlackMisc::Network::CUser &pilot) override;
|
||||
|
||||
//! \copydoc IContextOwnAircraft::updateSelcal
|
||||
@@ -56,7 +56,7 @@ namespace BlackCore
|
||||
//! \copydoc IContextOwnAircraft::updateOwnIcaoCodes
|
||||
virtual bool updateOwnIcaoCodes(const BlackMisc::Aviation::CAircraftIcaoCode &aircraftIcaoCode, const BlackMisc::Aviation::CAirlineIcaoCode &airlineIcaoCode) override;
|
||||
|
||||
//! \copydoc IContextOwnAircraft::setAudioOutputVolumes
|
||||
//! \copydoc IContextOwnAircraft::setAudioOutputVolume
|
||||
virtual void setAudioOutputVolume(int outputVolume) override;
|
||||
|
||||
//! \copydoc IContextOwnAircraft::setAudioVoiceRoomOverrideUrls
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace BlackCore
|
||||
//! \copydoc IContextSimulator::iconForModel
|
||||
virtual BlackMisc::CPixmap iconForModel(const QString &modelString) const override;
|
||||
|
||||
//! \copydoc ISimulator::enableDebuggingMessages
|
||||
//! \copydoc ISimulator::enableDebugMessages
|
||||
virtual void enableDebugMessages(bool driver, bool interpolator) override;
|
||||
|
||||
//! \copydoc IContextSimulator::highlightAircraft
|
||||
|
||||
@@ -86,7 +86,7 @@ namespace BlackCore
|
||||
//! \copydoc IContextSimulator::getMaxRenderedAircraft
|
||||
virtual int getMaxRenderedAircraft() const override;
|
||||
|
||||
//! \copydoc IContextSimulator::setMaxRenderedRemoteAircraft
|
||||
//! \copydoc IContextSimulator::setMaxRenderedAircraft
|
||||
virtual void setMaxRenderedAircraft(int number) override;
|
||||
|
||||
//! \copydoc IContextSimulator::setMaxRenderedDistance
|
||||
@@ -119,7 +119,7 @@ namespace BlackCore
|
||||
//! \copydoc IContextSimulator::highlightAircraft
|
||||
virtual void highlightAircraft(const BlackMisc::Simulation::CSimulatedAircraft &aircraftToHighlight, bool enableHighlight, const BlackMisc::PhysicalQuantities::CTime &displayTime) override;
|
||||
|
||||
//! \copydoc ISimulator::enableDebuggingMessages
|
||||
//! \copydoc ISimulator::enableDebugMessages
|
||||
virtual void enableDebugMessages(bool driver, bool interpolator) override;
|
||||
};
|
||||
} // namespace BlackCore
|
||||
|
||||
@@ -115,16 +115,16 @@ namespace BlackCore
|
||||
//! Productive settings?
|
||||
void setDevelopment(bool development) { m_development = development; }
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! To string
|
||||
QString convertToQString(const QString &separator, bool i18n = false) const;
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
BlackMisc::CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const BlackMisc::CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Schema version
|
||||
|
||||
@@ -78,16 +78,16 @@ namespace BlackCore
|
||||
//! Productive settings?
|
||||
void setDevelopment(bool development) { m_development = development; }
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! To string
|
||||
QString convertToQString(const QString &separator, bool i18n = false) const;
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
BlackMisc::CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const BlackMisc::CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
private:
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace BlackCore
|
||||
IInterpolator(provider, "CInterpolatorLinear", parent)
|
||||
{}
|
||||
|
||||
//! \copydoc IInterpolator::getCurrentInterpolatedSituation
|
||||
//! \copydoc IInterpolator::getInterpolatedSituation
|
||||
virtual BlackMisc::Aviation::CAircraftSituation getInterpolatedSituation(const BlackMisc::Aviation::CCallsign &callsign, qint64 currentTimeSinceEpoc, bool vtolAiracraft, InterpolationStatus &status) const override;
|
||||
|
||||
//! Log category
|
||||
|
||||
@@ -41,10 +41,10 @@ namespace BlackCore
|
||||
void versionSynchronized(bool success);
|
||||
|
||||
protected slots:
|
||||
//! \copydoc CThreadedReader::initialize
|
||||
//! \copydoc BlackMisc::CThreadedReader::initialize
|
||||
virtual void initialize() override;
|
||||
|
||||
//! \copydoc CThreadedReader::cleanup
|
||||
//! \copydoc BlackMisc::CThreadedReader::cleanup
|
||||
virtual void cleanup() override;
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -276,7 +276,7 @@ namespace BlackCore
|
||||
//! Create a new instance of a driver
|
||||
//! \param info metadata about simulator
|
||||
//! \param ownAircraftProvider in memory access to own aircraft data
|
||||
//! \param renderedAircraftProvider in memory access to rendered aircraft data such as situation history and aircraft itself
|
||||
//! \param remoteAircraftProvider in memory access to rendered aircraft data such as situation history and aircraft itself
|
||||
//! \param pluginStorageProvider in memory access to persistent plugin data store
|
||||
//! \return driver instance
|
||||
virtual ISimulator *create(
|
||||
|
||||
@@ -66,34 +66,34 @@ namespace BlackCore
|
||||
//! \copydoc ISimulator::isMaxDistanceRestricted
|
||||
virtual bool isMaxDistanceRestricted() const override;
|
||||
|
||||
//! \copydoc ISimulator::enableDebuggingMessages
|
||||
//! \copydoc ISimulator::enableDebugMessages
|
||||
virtual void enableDebugMessages(bool driverMessages, bool interpolatorMessages) override;
|
||||
|
||||
//! \copydoc ISimulator::getInstalledModelsCount
|
||||
virtual int getInstalledModelsCount() const override;
|
||||
|
||||
//! \copydoc IContextSimulator::highlightAircraft
|
||||
//! \copydoc ISimulator::highlightAircraft
|
||||
virtual void highlightAircraft(const BlackMisc::Simulation::CSimulatedAircraft &aircraftToHighlight, bool enableHighlight, const BlackMisc::PhysicalQuantities::CTime &displayTime) override;
|
||||
|
||||
//! \copydoc IContextSimulator::isRenderingEnabled
|
||||
//! \copydoc ISimulator::isRenderingEnabled
|
||||
virtual bool isRenderingEnabled() const override;
|
||||
|
||||
//! \copydoc IContextSimulator::isRenderingRestricted
|
||||
//! \copydoc ISimulator::isRenderingRestricted
|
||||
virtual bool isRenderingRestricted() const override;
|
||||
|
||||
//! \copydoc IContextSimulator::getSimulatorPluginInfo
|
||||
//! \copydoc ISimulator::getSimulatorPluginInfo
|
||||
virtual const BlackMisc::Simulation::CSimulatorPluginInfo &getSimulatorPluginInfo() const override;
|
||||
|
||||
//! \copydoc IContextSimulator::getSimulatorSetup
|
||||
//! \copydoc ISimulator::getSimulatorSetup
|
||||
virtual const BlackMisc::Simulation::CSimulatorSetup &getSimulatorSetup() const override;
|
||||
|
||||
//! \copydoc IContextSimulator::unload
|
||||
//! \copydoc ISimulator::unload
|
||||
virtual void unload();
|
||||
|
||||
//! \copydoc IContextSimulator::deleteAllRenderingRestrictions
|
||||
virtual void deleteAllRenderingRestrictions() override;
|
||||
|
||||
//! \copydoc IContextSimulator::physicallyRemoveRemoteAircraft
|
||||
//! \copydoc ISimulator::physicallyRemoveMultipleRemoteAircraft
|
||||
virtual int physicallyRemoveMultipleRemoteAircraft(const BlackMisc::Aviation::CCallsignSet &callsigns) override;
|
||||
|
||||
protected slots:
|
||||
@@ -120,10 +120,10 @@ namespace BlackCore
|
||||
BlackMisc::IPluginStorageProvider *pluginStorageProvider,
|
||||
QObject *parent);
|
||||
|
||||
//! \copydoc IContextSimulator::logicallyAddRemoteAircraft
|
||||
//! \copydoc ISimulator::logicallyAddRemoteAircraft
|
||||
virtual bool logicallyAddRemoteAircraft(const BlackMisc::Simulation::CSimulatedAircraft &remoteAircraft) override;
|
||||
|
||||
//! \copydoc IContextSimulator::logicallyRemoveRemoteAircraft
|
||||
//! \copydoc ISimulator::logicallyRemoveRemoteAircraft
|
||||
virtual bool logicallyRemoveRemoteAircraft(const BlackMisc::Aviation::CCallsign &callsign) override;
|
||||
|
||||
//! Blink the highlighted aircraft
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace BlackCore
|
||||
void dataRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState state, int number);
|
||||
|
||||
protected:
|
||||
//! \copydoc CThreadedReader::cleanup
|
||||
//! \copydoc BlackMisc::CThreadedReader::cleanup
|
||||
virtual void cleanup() override;
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -113,7 +113,7 @@ namespace BlackCore
|
||||
void dataRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState state, int number);
|
||||
|
||||
protected:
|
||||
//! \copydoc CThreadedReader::cleanup
|
||||
//! \copydoc BlackMisc::CThreadedReader::cleanup
|
||||
virtual void cleanup() override;
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace BlackCore
|
||||
void dataRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState state, int number);
|
||||
|
||||
protected:
|
||||
//! \copydoc CThreadedReader::cleanup
|
||||
//! \copydoc BlackMisc::CThreadedReader::cleanup
|
||||
virtual void cleanup() override;
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace BlackCore
|
||||
//! \copydoc IVoiceChannel::getVoiceRoomCallsigns
|
||||
virtual BlackMisc::Aviation::CCallsignSet getVoiceRoomCallsigns() const override;
|
||||
|
||||
//! \copydoc IVoiceChannel::setMyAircraftCallsign
|
||||
//! \copydoc IVoiceChannel::setOwnAircraftCallsign
|
||||
virtual void setOwnAircraftCallsign(const BlackMisc::Aviation::CCallsign &callsign) override;
|
||||
|
||||
//! \copydoc IVoiceChannel::getVoiceRoom
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace BlackGui
|
||||
void stopTimer() { Q_ASSERT(this->m_updateTimer); this->m_updateTimer->stopTimer(); }
|
||||
|
||||
protected:
|
||||
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
|
||||
//! \copydoc CEnableForRuntime::runtimeHasBeenSet
|
||||
void runtimeHasBeenSet() override;
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace BlackGui
|
||||
//! Get METAR for given ICAO airport code
|
||||
void getMetar(const QString &airportIcaoCode);
|
||||
|
||||
//! \copydoc CAtcStationListModel::changedAtcStationConnectionStatus
|
||||
//! \copydoc Models::CAtcStationListModel::changedAtcStationConnectionStatus
|
||||
void changedAtcStationOnlineConnectionStatus(const BlackMisc::Aviation::CAtcStation &station, bool added);
|
||||
|
||||
protected:
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace BlackGui
|
||||
bool playNotificationSounds() const;
|
||||
|
||||
protected:
|
||||
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
|
||||
//! \copydoc CEnableForRuntime::runtimeHasBeenSet
|
||||
virtual void runtimeHasBeenSet() override;
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CCockpitComponent();
|
||||
|
||||
//! \copydoc CDockWidgetInfoArea::setParentDockWidgetInfoArea
|
||||
//! \copydoc CEnableForDockWidgetInfoArea::setParentDockWidgetInfoArea
|
||||
virtual bool setParentDockWidgetInfoArea(BlackGui::CDockWidgetInfoArea *parentDockableWidget) override;
|
||||
|
||||
//! Is the info area shown?
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CDbAircraftIcaoSelectorComponent();
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
|
||||
|
||||
//! Current aircraft ICAO
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
virtual ~CDbAirlineIcaoSelectorBase();
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
|
||||
|
||||
//! Current airline ICAO
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CDbAutoStashingComponent();
|
||||
|
||||
//! \copydoc CWebDataServicesAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
|
||||
|
||||
//! At least run once and completed
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CDbCountrySelectorComponent();
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
|
||||
|
||||
//! Current country
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CDbDistributorSelectorComponent();
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
|
||||
|
||||
//! Current distributor
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CDbLiverySelectorComponent();
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
|
||||
|
||||
//! Current livery
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CDbMappingComponent();
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *provider) override;
|
||||
|
||||
//! Graceful shutdown
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CDbStashComponent();
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *provider) override;
|
||||
|
||||
//! Graceful shutdown
|
||||
|
||||
@@ -108,7 +108,7 @@ namespace BlackGui
|
||||
//! \remarks use this methods to hook up signal/slots with runtime
|
||||
virtual void runtimeHasBeenSet() {}
|
||||
|
||||
//! \copydoc CRuntime::hasRemoteApplicationContext
|
||||
//! \copydoc BlackCore::CRuntime::hasRemoteApplicationContext
|
||||
bool hasRemoteApplicationContext() const { return this->m_runtime->hasRemoteApplicationContext(); }
|
||||
|
||||
//! Play a given notification sound
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace BlackGui
|
||||
void setDBusTooltip(const QString &tooltip);
|
||||
|
||||
protected:
|
||||
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
|
||||
//! \copydoc CEnableForRuntime::runtimeHasBeenSet
|
||||
virtual void runtimeHasBeenSet() override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace BlackGui
|
||||
void onMainInfoAreaChanged(int currentTabIndex, QList<int> dockedIndexes, QList<int> floatingIndexes);
|
||||
|
||||
protected:
|
||||
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
|
||||
//! \copydoc CEnableForRuntime::runtimeHasBeenSet
|
||||
virtual void runtimeHasBeenSet() override;
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace BlackGui
|
||||
//! Numer of models
|
||||
int countAircraftModels() const;
|
||||
|
||||
//! \copydoc CListModelBase::getModelsStartsWith
|
||||
//! Find models starting with
|
||||
BlackMisc::Simulation::CAircraftModelList findModelsStartingWith(const QString modelName, Qt::CaseSensitivity cs);
|
||||
|
||||
signals:
|
||||
@@ -60,7 +60,7 @@ namespace BlackGui
|
||||
void requestTextMessageWidget(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
|
||||
protected:
|
||||
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
|
||||
//! \copydoc CEnableForRuntime::runtimeHasBeenSet
|
||||
virtual void runtimeHasBeenSet() override;
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace BlackGui
|
||||
~CRegisterComponent();
|
||||
|
||||
protected:
|
||||
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
|
||||
//! \copydoc CEnableForRuntime::runtimeHasBeenSet
|
||||
virtual void runtimeHasBeenSet() override;
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace BlackGui
|
||||
void setSettingsTab(SettingTab tab);
|
||||
|
||||
protected:
|
||||
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
|
||||
//! \copydoc CEnableForRuntime::runtimeHasBeenSet
|
||||
virtual void runtimeHasBeenSet() override;
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace BlackGui
|
||||
~CSettingsNetworkComponent();
|
||||
|
||||
protected:
|
||||
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
|
||||
//! \copydoc CEnableForRuntime::runtimeHasBeenSet
|
||||
virtual void runtimeHasBeenSet() override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace BlackGui
|
||||
~CSettingsSimulatorComponent();
|
||||
|
||||
protected:
|
||||
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet()
|
||||
//! \copydoc CEnableForRuntime::runtimeHasBeenSet()
|
||||
virtual void runtimeHasBeenSet() override;
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -75,7 +75,7 @@ namespace BlackGui
|
||||
void showCorrespondingTab(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
|
||||
protected:
|
||||
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
|
||||
//! \copydoc CEnableForRuntime::runtimeHasBeenSet
|
||||
void runtimeHasBeenSet() override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace BlackGui
|
||||
//! Contribute to menu
|
||||
virtual void addToContextMenu(QMenu *contextMenu) const override;
|
||||
|
||||
//! \copydoc CDockWidget::initalFloating
|
||||
//! \copydoc CDockWidget::initialFloating
|
||||
virtual void initialFloating() override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace BlackGui
|
||||
//! Clear
|
||||
void clear();
|
||||
|
||||
//! \copydoc CWebDataServicesAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
|
||||
|
||||
public slots:
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace BlackGui
|
||||
//! Clear
|
||||
void clear();
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
|
||||
|
||||
signals:
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace BlackGui
|
||||
//! Clear
|
||||
void clear();
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider);
|
||||
|
||||
public slots:
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CLiveryForm();
|
||||
|
||||
//! \copydoc CWebDataServicesAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *provider) override;
|
||||
|
||||
//! Value
|
||||
|
||||
@@ -41,10 +41,10 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CAircraftIcaoFilterBar();
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
|
||||
|
||||
//! \copydoc CFilterWidget::getModelFilter
|
||||
//! \copydoc Models::IModelFilterProvider::createModelFilter
|
||||
std::unique_ptr<BlackGui::Models::IModelFilter<BlackMisc::Aviation::CAircraftIcaoCodeList> > createModelFilter() const;
|
||||
|
||||
//! Filter by ICAO object as default values
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CAircraftModelFilterBar();
|
||||
|
||||
//! \copydoc IModelFilter::getModelFilter
|
||||
//! \copydoc Models::IModelFilterProvider::createModelFilter
|
||||
virtual std::unique_ptr<BlackGui::Models::IModelFilter<BlackMisc::Simulation::CAircraftModelList>> createModelFilter() const override;
|
||||
|
||||
//! Set the provider
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CAircraftModelFilterDialog();
|
||||
|
||||
//! \copydoc IModelFilterProvider::getModelFilter
|
||||
//! \copydoc Models::IModelFilterProvider::createModelFilter
|
||||
virtual std::unique_ptr<BlackGui::Models::IModelFilter<BlackMisc::Simulation::CAircraftModelList>> createModelFilter() const override;
|
||||
|
||||
//! Set the provider
|
||||
|
||||
@@ -42,10 +42,10 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CAirlineIcaoFilterBar();
|
||||
|
||||
//! \copydoc IModelFilter::getModelFilter
|
||||
//! \copydoc Models::IModelFilterProvider::createModelFilter
|
||||
virtual std::unique_ptr<BlackGui::Models::IModelFilter<BlackMisc::Aviation::CAirlineIcaoCodeList>> createModelFilter() const override;
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
|
||||
|
||||
//! Filter default values by ICAO code
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CCountryFilterBar();
|
||||
|
||||
//! \copydoc IModelFilter::getModelFilter
|
||||
//! \copydoc Models::IModelFilterProvider::createModelFilter
|
||||
virtual std::unique_ptr<BlackGui::Models::IModelFilter<BlackMisc::CCountryList>> createModelFilter() const override;
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
|
||||
|
||||
public slots:
|
||||
|
||||
@@ -41,10 +41,10 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CLiveryFilterBar();
|
||||
|
||||
//! \copydoc IModelFilter::getModelFilter
|
||||
//! \copydoc Models::IModelFilterProvider::createModelFilter
|
||||
virtual std::unique_ptr<BlackGui::Models::IModelFilter<BlackMisc::Aviation::CLiveryList>> createModelFilter() const override;
|
||||
|
||||
//! \copydoc CWebDataReaderAware::setProvider
|
||||
//! \copydoc BlackMisc::Network::CWebDataServicesAware::setProvider
|
||||
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *webDataReaderProvider) override;
|
||||
|
||||
//! Filter by livery as default values
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace BlackGui
|
||||
//! \copydoc QAbstractTableModel::rowCount
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
|
||||
//! \copydoc QAbstractTableModel::columCount
|
||||
//! \copydoc QAbstractTableModel::columnCount
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
|
||||
//! \copydoc QAbstractTableModel::data
|
||||
|
||||
@@ -306,7 +306,7 @@ namespace BlackGui
|
||||
//! Constructor
|
||||
CPhysiqalQuantiyFormatter(MU unit = MU::defaultUnit(), int digits = 2, int alignment = alignRightVCenter(), bool withUnit = true, bool i18n = true, QList<int> supportedRoles = roleDisplay()) : CValueObjectFormatter(alignment, i18n, supportedRoles), m_unit(unit), m_digits(digits), m_withUnit(withUnit) {}
|
||||
|
||||
//! \copydoc CValueObjectFormatter::displayRole
|
||||
//! \copydoc BlackGui::Models::CDefaultFormatter::displayRole
|
||||
virtual BlackMisc::CVariant displayRole(const BlackMisc::CVariant &physicalQuantity) const override
|
||||
{
|
||||
if (physicalQuantity.canConvert<PQ>())
|
||||
|
||||
@@ -219,7 +219,7 @@ namespace BlackGui
|
||||
//! Remove object
|
||||
virtual void remove(const ObjectType &object);
|
||||
|
||||
//! \copydoc BlackMisc::ContainerBase::removeIf
|
||||
//! \copydoc BlackMisc::CContainerBase::removeIf
|
||||
template <class K0, class V0, class... KeysValues>
|
||||
int removeIf(K0 k0, V0 v0, KeysValues... keysValues)
|
||||
{
|
||||
@@ -238,10 +238,10 @@ namespace BlackGui
|
||||
//! \copydoc QStandardItemModel::mimeData
|
||||
virtual QMimeData *mimeData(const QModelIndexList &indexes) const override;
|
||||
|
||||
//! \copydoc CListModelBaseNonTemplate::toJosn
|
||||
//! \copydoc BlackGui::Models::CListModelBaseNonTemplate::toJson
|
||||
virtual QJsonObject toJson() const override;
|
||||
|
||||
//! \copydoc CListModelBaseNonTemplate::toJsonString
|
||||
//! \copydoc BlackGui::Models::CListModelBaseNonTemplate::toJsonString
|
||||
virtual QString toJsonString(QJsonDocument::JsonFormat format = QJsonDocument::Indented) const override;
|
||||
|
||||
//! Filter available
|
||||
@@ -254,10 +254,10 @@ namespace BlackGui
|
||||
void takeFilterOwnership(std::unique_ptr<IModelFilter<ContainerType> > &filter);
|
||||
|
||||
protected:
|
||||
//! \copydoc CListModelBaseNonTemplate::CListModelBaseNonTemplate
|
||||
//! Constructor
|
||||
CListModelBase(const QString &translationContext, QObject *parent = nullptr);
|
||||
|
||||
//! \copydoc CModelBaseNonTemplate::performUpdateContainer
|
||||
//! \copydoc BlackGui::Models::CListModelBaseNonTemplate::performUpdateContainer
|
||||
virtual int performUpdateContainer(const BlackMisc::CVariant &variant, bool sort) override;
|
||||
|
||||
//! Update filtered container
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace BlackGui
|
||||
//! Set color for highlighting
|
||||
void setHighlightColor(QColor color) { m_highlightColor = color; }
|
||||
|
||||
//! \copydoc CListModelBase::data
|
||||
//! Get data for index and role
|
||||
virtual QVariant data(const QModelIndex &index, int role) const override;
|
||||
|
||||
//! DB key for given index
|
||||
@@ -49,7 +49,7 @@ namespace BlackGui
|
||||
bool isHighlightIndex(const QModelIndex &index) const;
|
||||
|
||||
protected:
|
||||
//! \copydoc CListModelDbObjectsNonTemplate::CListModelDbObjectsNonTemplate
|
||||
//! Constructor
|
||||
CListModelDbObjects(const QString &translationContext, QObject *parent = nullptr);
|
||||
|
||||
private:
|
||||
|
||||
@@ -67,14 +67,14 @@ namespace BlackGui
|
||||
//! \copydoc BlackGui::Models::CAircraftModelListModel::setHighlightModelStrings(const QStringList &)
|
||||
void setHighlightModelStrings(const QStringList &highlightModels);
|
||||
|
||||
//! \copydoc BlackGui::Models::CAircraftModelListModel::setHighlightModelsStrings(bool)
|
||||
//! \copydoc BlackGui::Models::CAircraftModelListModel::setHighlightModelStrings(bool)
|
||||
void setHighlightModelStrings(bool highlight);
|
||||
|
||||
//! \copydoc BlackGui::Models::CAircraftModelListModel::setHighlightModelStringsColor
|
||||
void setHighlightModelStringsColor(const QBrush &brush);
|
||||
|
||||
//! \copydoc BlackGui::Models::CAircraftModelListModel::highlightModelsStrings
|
||||
bool highlightModelsStrings() const;
|
||||
//! \copydoc BlackGui::Models::CAircraftModelListModel::highlightModelStrings
|
||||
|
||||
signals:
|
||||
//! Request to stash if applicable
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace BlackGui
|
||||
void requestTextMessageWidget(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
|
||||
public slots:
|
||||
//! \copydoc CAtcStationListModel::changedAtcStationConnectionStatus
|
||||
//! \copydoc Models::CAtcStationListModel::changedAtcStationConnectionStatus
|
||||
void changedAtcStationConnectionStatus(const BlackMisc::Aviation::CAtcStation &station, bool added);
|
||||
|
||||
protected:
|
||||
|
||||
@@ -110,13 +110,13 @@ namespace BlackGui
|
||||
//! Allow to drag and/or drop value objects
|
||||
virtual void allowDragDropValueObjects(bool allowDrag, bool allowDrop);
|
||||
|
||||
//! \copydoc CDockWidget::allowDrop
|
||||
//! \copydoc CDropBase::allowDrop
|
||||
virtual void allowDrop(bool allow) override;
|
||||
|
||||
//! \copydoc CDockWidget::isDropAllowed
|
||||
//! \copydoc CDropBase::isDropAllowed
|
||||
virtual bool isDropAllowed() const override;
|
||||
|
||||
//! \copydoc CEnableForDockWidgetInfoArea::setParentDockWidgetInfoArea
|
||||
//! \copydoc Components::CEnableForDockWidgetInfoArea::setParentDockWidgetInfoArea
|
||||
virtual bool setParentDockWidgetInfoArea(BlackGui::CDockWidgetInfoArea *parentDockableWidget);
|
||||
|
||||
//! Resize mode
|
||||
@@ -191,7 +191,7 @@ namespace BlackGui
|
||||
//! Menus
|
||||
Menu getMenu() const { return this->m_menus; }
|
||||
|
||||
//! \copydoc QTableView::setSelectionModel();
|
||||
//! \copydoc QTableView::setSelectionModel
|
||||
virtual void setSelectionModel(QItemSelectionModel *model) override;
|
||||
|
||||
//! Main application window widget if any
|
||||
@@ -256,7 +256,7 @@ namespace BlackGui
|
||||
|
||||
//! Method creating the menu
|
||||
//! \remarks override this method to contribute to the menu
|
||||
//! \sa CViewBaseNonTemplate::ps_customMenuRequested
|
||||
//! \sa BlackGui::Views::CViewBaseNonTemplate::ps_customMenuRequested
|
||||
virtual void customMenu(QMenu &menu) const;
|
||||
|
||||
//! \copydoc QTableView::paintEvent
|
||||
@@ -430,13 +430,13 @@ namespace BlackGui
|
||||
//! Access to container
|
||||
const ContainerType &container() const;
|
||||
|
||||
//! \copydoc BlackGui::Models::ListModelBase::containerOrFilteredContainer
|
||||
//! \copydoc BlackGui::Models::CListModelBase::containerOrFilteredContainer
|
||||
const ContainerType &containerOrFilteredContainer() const;
|
||||
|
||||
//! Selected objects
|
||||
ContainerType selectedObjects() const;
|
||||
|
||||
//! \copydoc CViewBaseNonTemplate::removeSelectedRows
|
||||
//! \copydoc BlackGui::Views::CViewBaseNonTemplate::removeSelectedRows
|
||||
//! \remarks Actually a slot, but not defined as such as the template does not support Q_OBJECT
|
||||
virtual int removeSelectedRows() override;
|
||||
|
||||
@@ -476,7 +476,7 @@ namespace BlackGui
|
||||
//! Column count
|
||||
int columnCount() const;
|
||||
|
||||
//! \copydoc CViewBaseNonTemplate::isEmpty
|
||||
//! \copydoc BlackGui::Views::CViewBaseNonTemplate::isEmpty
|
||||
virtual bool isEmpty() const override;
|
||||
|
||||
//! Convert to JSON
|
||||
|
||||
@@ -44,11 +44,11 @@ namespace BlackGui
|
||||
//! Constructor
|
||||
explicit CViewWithDbObjects(QWidget *parent = nullptr);
|
||||
|
||||
//! \copydoc QWidget::customMenu
|
||||
//! \copydoc BlackGui::Views::CViewBaseNonTemplate::customMenu
|
||||
virtual void customMenu(QMenu &menu) const override;
|
||||
|
||||
protected slots:
|
||||
//! \copydoc CViewBaseNonTemplate::ps_toggleHighlightDbData
|
||||
//! \copydoc BlackGui::Views::CViewBase::ps_toggleHighlightDbData
|
||||
virtual void ps_toggleHighlightDbData() override;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace BlackMisc
|
||||
return CAudioDeviceInfo(InputDevice, defaultDeviceIndex(), "default");
|
||||
}
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -37,13 +37,13 @@ namespace BlackMisc
|
||||
//! Notification flag (play notification?)
|
||||
void setNotificationFlag(BlackMisc::Audio::CNotificationSounds::Notification notification, bool value);
|
||||
|
||||
//! \copydoc BlackCore::IContextSettings::value
|
||||
//! Settings value
|
||||
BlackMisc::CStatusMessage value(const QString &path, const QString &command, const BlackMisc::CVariant &value, bool &changedFlag);
|
||||
|
||||
//! Init with meaningful default values
|
||||
void initDefaultValues();
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -86,10 +86,10 @@ namespace BlackMisc
|
||||
//! Is ATIS voice channel
|
||||
bool isAtis() const;
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Protocol prefix "vvl"
|
||||
@@ -101,7 +101,7 @@ namespace BlackMisc
|
||||
*/
|
||||
static const QString &protocolComplete() { static QString p("vvl://"); return p; }
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace BlackMisc
|
||||
//! Set to on/off
|
||||
void setOn(bool on) { m_on = on; }
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -46,10 +46,10 @@ namespace BlackMisc
|
||||
//! Engine number 1..x on?
|
||||
bool isEngineOn(int engineNumber) const;
|
||||
|
||||
//! \copydoc CValueObject::toJson
|
||||
//! \copydoc BlackMisc::Mixin::JsonByTuple::toJson
|
||||
QJsonObject toJson() const;
|
||||
|
||||
//! \copydoc CValueObject::convertFromJson
|
||||
//! \copydoc BlackMisc::Mixin::JsonByTuple::convertFromJson
|
||||
void convertFromJson(const QJsonObject &json);
|
||||
|
||||
};
|
||||
|
||||
@@ -216,16 +216,16 @@ namespace BlackMisc
|
||||
//! Matches ICAO, IATA, family?
|
||||
bool matchesDesignatorIataOrFamily(const QString &icaoIataOrFamily) const;
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Compare for index
|
||||
int comparePropertyByIndex(const CAircraftIcaoCode &compareValue, const CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! Update missing parts
|
||||
|
||||
@@ -42,10 +42,10 @@ namespace BlackMisc
|
||||
//! Constructor
|
||||
CAircraftLights(bool strobeOn, bool landingOn, bool taxiOn, bool beaconOn, bool navOn, bool logoOn);
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Strobes lights on?
|
||||
@@ -96,7 +96,7 @@ namespace BlackMisc
|
||||
//! Returns object with all lights switched off
|
||||
static CAircraftLights allLightsOff();
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -50,10 +50,10 @@ namespace BlackMisc
|
||||
m_spoilersOut(spoilersOut), m_isOnGround(onGround)
|
||||
{}
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Compare for index
|
||||
@@ -110,7 +110,7 @@ namespace BlackMisc
|
||||
//! Set aircraft on ground
|
||||
void setOnGround(bool onGround) { m_isOnGround = onGround; }
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -64,10 +64,10 @@ namespace BlackMisc
|
||||
const BlackMisc::PhysicalQuantities::CAngle &bank = {},
|
||||
const BlackMisc::PhysicalQuantities::CSpeed &gs = {});
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Get position
|
||||
@@ -76,23 +76,23 @@ namespace BlackMisc
|
||||
//! Set position
|
||||
void setPosition(const BlackMisc::Geo::CCoordinateGeodetic &position) { this->m_position = position; }
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::latitude()
|
||||
//! \copydoc Geo::ICoordinateGeodetic::latitude()
|
||||
virtual BlackMisc::Geo::CLatitude latitude() const override { return this->m_position.latitude(); }
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::longitude()
|
||||
//! \copydoc Geo::ICoordinateGeodetic::longitude()
|
||||
virtual BlackMisc::Geo::CLongitude longitude() const override { return this->m_position.longitude(); }
|
||||
|
||||
//! Guess if aircraft is "on ground"
|
||||
virtual bool isOnGroundGuessed() const;
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::geodeticHeight
|
||||
//! \copydoc Geo::ICoordinateGeodetic::geodeticHeight
|
||||
//! \remarks this should be used for elevation as depicted here: http://en.wikipedia.org/wiki/Altitude#mediaviewer/File:Vertical_distances.svg
|
||||
const BlackMisc::PhysicalQuantities::CLength &geodeticHeight() const override { return this->m_position.geodeticHeight(); }
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::normalVector
|
||||
//! \copydoc Geo::ICoordinateGeodetic::normalVector
|
||||
virtual QVector3D normalVector() const override { return this->m_position.normalVector(); }
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::normalVectorDouble
|
||||
//! \copydoc Geo::ICoordinateGeodetic::normalVectorDouble
|
||||
virtual std::array<double, 3> normalVectorDouble() const override { return this->m_position.normalVectorDouble(); }
|
||||
|
||||
//! Elevation
|
||||
@@ -143,7 +143,7 @@ namespace BlackMisc
|
||||
//! Corresponding callsign
|
||||
void setCallsign(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -150,16 +150,16 @@ namespace BlackMisc
|
||||
//! Comined string with key
|
||||
QString getCombinedStringWithKey() const;
|
||||
|
||||
//! \copydoc CValueObject::toIcon
|
||||
//! \copydoc BlackMisc::Mixin::Icon::toIcon
|
||||
CIcon toIcon() const;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Compare for index
|
||||
|
||||
@@ -77,41 +77,41 @@ namespace BlackMisc
|
||||
//! \sa setGeodeticHeight
|
||||
void setElevation(const BlackMisc::PhysicalQuantities::CLength &elevation) { return this->m_position.setGeodeticHeight(elevation); }
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::geodeticHeight
|
||||
//! \copydoc Geo::ICoordinateGeodetic::geodeticHeight
|
||||
//! \remarks this should be used for elevation as depicted here: http://en.wikipedia.org/wiki/Altitude#mediaviewer/File:Vertical_distances.svg
|
||||
const BlackMisc::PhysicalQuantities::CLength &geodeticHeight() const override { return this->m_position.geodeticHeight(); }
|
||||
|
||||
//! Valid ICAO code
|
||||
bool hasValidIcaoCode() const { return !this->getIcao().isEmpty(); }
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::latitude
|
||||
//! \copydoc Geo::ICoordinateGeodetic::latitude
|
||||
virtual BlackMisc::Geo::CLatitude latitude() const override
|
||||
{
|
||||
return this->getPosition().latitude();
|
||||
}
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::longitude
|
||||
//! \copydoc Geo::ICoordinateGeodetic::longitude
|
||||
virtual BlackMisc::Geo::CLongitude longitude() const override
|
||||
{
|
||||
return this->getPosition().longitude();
|
||||
}
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::normalVector
|
||||
//! \copydoc Geo::ICoordinateGeodetic::normalVector
|
||||
virtual QVector3D normalVector() const override { return this->getPosition().normalVector(); }
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::normalVectorDouble
|
||||
//! \copydoc Geo::ICoordinateGeodetic::normalVectorDouble
|
||||
virtual std::array<double, 3> normalVectorDouble() const override { return this->getPosition().normalVectorDouble(); }
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Compare for index
|
||||
int comparePropertyByIndex(const CAirport &compareValue, const CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace BlackMisc
|
||||
//! Valid ICAO designator
|
||||
static bool isValidIcaoDesignator(const QString &icaoCode);
|
||||
|
||||
//! \copydoc CValueObject::convertToQString()
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString()
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! Compare for index
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace BlackMisc
|
||||
FlightLevel //!< Flight level
|
||||
};
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! Default constructor: 0 Altitude true
|
||||
@@ -90,13 +90,13 @@ namespace BlackMisc
|
||||
//! Flightlevel to MSL
|
||||
void toMeanSeaLevel();
|
||||
|
||||
//! \copydoc CValueObject::parseFromString(const QString &value)
|
||||
//! Parse value from string
|
||||
void parseFromString(const QString &value);
|
||||
|
||||
//! \copydoc CValueObject::parseFromString(const QString &value, BlackMisc::PhysicalQuantities::CPqString::SeparatorMode mode)
|
||||
//! Parse value from string, with specified separator
|
||||
void parseFromString(const QString &value, BlackMisc::PhysicalQuantities::CPqString::SeparatorMode mode);
|
||||
|
||||
//! \copydoc CValueObject::toIcon
|
||||
//! \copydoc BlackMisc::Mixin::Icon::toIcon
|
||||
BlackMisc::CIcon toIcon() const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace BlackMisc
|
||||
bool isOnline = false, const QDateTime &bookedFromUtc = QDateTime(), const QDateTime &bookedUntilUtc = QDateTime(),
|
||||
const CInformationMessage &atis = CInformationMessage(CInformationMessage::ATIS), const CInformationMessage &metar = CInformationMessage(CInformationMessage::METAR));
|
||||
|
||||
//! \copydoc CValueObject::toIcon()
|
||||
//! \copydoc BlackMisc::Mixin::Icon::toIcon()
|
||||
BlackMisc::CIcon toIcon() const { return this->m_callsign.toIcon(); }
|
||||
|
||||
//! Has booking times?
|
||||
@@ -220,29 +220,29 @@ namespace BlackMisc
|
||||
//! Set booked until
|
||||
void setBookedUntilUtc(const QDateTime &until) { this->m_bookedUntilUtc = until; }
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::latitude
|
||||
//! \copydoc Geo::ICoordinateGeodetic::latitude
|
||||
virtual BlackMisc::Geo::CLatitude latitude() const override;
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::longitude
|
||||
//! \copydoc Geo::ICoordinateGeodetic::longitude
|
||||
virtual BlackMisc::Geo::CLongitude longitude() const override;
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::geodeticHeight
|
||||
//! \copydoc Geo::ICoordinateGeodetic::geodeticHeight
|
||||
//! \remarks this should be used for elevation as depicted here: http://en.wikipedia.org/wiki/Altitude#mediaviewer/File:Vertical_distances.svg
|
||||
const BlackMisc::PhysicalQuantities::CLength &geodeticHeight() const override;
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::normalVector
|
||||
//! \copydoc Geo::ICoordinateGeodetic::normalVector
|
||||
virtual QVector3D normalVector() const override;
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::normalVectorDouble
|
||||
//! \copydoc Geo::ICoordinateGeodetic::normalVectorDouble
|
||||
virtual std::array<double, 3> normalVectorDouble() const override;
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const CPropertyIndex &index);
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -108,13 +108,13 @@ namespace BlackMisc
|
||||
//! Equals callsign string?
|
||||
bool equalsString(const QString &callsignString) const;
|
||||
|
||||
//! \copydoc CValueObject::toIcon()
|
||||
//! \copydoc BlackMisc::Mixin::Icon::toIcon()
|
||||
BlackMisc::CIcon toIcon() const { return convertToIcon(*this); }
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Compare for index
|
||||
@@ -147,7 +147,7 @@ namespace BlackMisc
|
||||
//! Representing icon
|
||||
static const CIcon &convertToIcon(const CCallsign &callsign);
|
||||
|
||||
//! \copydoc CValueObject::convertToQString()
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString()
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -179,10 +179,10 @@ namespace BlackMisc
|
||||
//! Get remarks string
|
||||
const QString &getRemarks() const { return m_remarks; }
|
||||
|
||||
//! \copydoc CValueObject::toIcon
|
||||
//! \copydoc BlackMisc::Mixin::Icon::toIcon
|
||||
CIcon toIcon() const;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString()
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString()
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace BlackMisc
|
||||
True = 1 //!< true north
|
||||
};
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! \brief Default constructor: 0 heading true
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace BlackMisc
|
||||
//! Is empty?
|
||||
bool isEmpty() const { return this->m_message.isEmpty(); }
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -109,16 +109,16 @@ namespace BlackMisc
|
||||
//! Matches combined code
|
||||
bool matchesCombinedCode(const QString &candidate) const;
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Compare for index
|
||||
int comparePropertyByIndex(const CLivery &compareValue, const CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! Complete data?
|
||||
|
||||
@@ -79,13 +79,13 @@ namespace BlackMisc
|
||||
//! Are set values valid?
|
||||
virtual bool validValues() const { return true; }
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! Destructor
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace BlackMisc
|
||||
//! All valid code pairs: AB, AC, AD ...
|
||||
static const QStringList &codePairs();
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace BlackMisc
|
||||
//! \brief Get reference north (magnetic or true)
|
||||
ReferenceNorth getReferenceNorth() const { return m_north; }
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -154,10 +154,10 @@ namespace BlackMisc
|
||||
return CTransponder(transponderCode, mode);
|
||||
}
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Is valid transponder code?
|
||||
@@ -166,7 +166,7 @@ namespace BlackMisc
|
||||
//! Is valid transponder code?
|
||||
static bool isValidTransponderCode(qint32 transponderMode);
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -104,7 +104,7 @@ namespace BlackMisc
|
||||
//! Simplifies composition, returns 0 for performance
|
||||
friend uint qHash(const C<T> &) { return 0; }
|
||||
|
||||
//! \copydoc CValueObject::toJson
|
||||
//! \copydoc BlackMisc::Mixin::JsonByTuple::toJson
|
||||
QJsonObject toJson() const
|
||||
{
|
||||
QJsonArray array;
|
||||
@@ -124,7 +124,7 @@ namespace BlackMisc
|
||||
return jsonDoc.toJson(format);
|
||||
}
|
||||
|
||||
//! \copydoc CValueObject::convertFromJson
|
||||
//! \copydoc BlackMisc::Mixin::JsonByTuple::convertFromJson
|
||||
void convertFromJson(const QJsonObject &json)
|
||||
{
|
||||
derived().clear();
|
||||
@@ -144,7 +144,7 @@ namespace BlackMisc
|
||||
this->convertFromJson(BlackMisc::Json::jsonObjectFromString(jsonString));
|
||||
}
|
||||
|
||||
//! \copydoc BlackMisc::CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const
|
||||
{
|
||||
QString str;
|
||||
|
||||
@@ -72,13 +72,13 @@ namespace BlackMisc
|
||||
//! Matches country name
|
||||
bool matchesCountryName(const QString &name) const;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Compare for index
|
||||
|
||||
@@ -71,10 +71,10 @@ namespace BlackMisc
|
||||
//! Is a key available?
|
||||
static bool existsKey(const QJsonObject &json, const QString &prefix = QString());
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Compare by index
|
||||
@@ -126,10 +126,10 @@ namespace BlackMisc
|
||||
//! Is a key available?
|
||||
static bool existsKey(const QJsonObject &json, const QString &prefix = QString());
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Compare by index
|
||||
|
||||
@@ -231,7 +231,7 @@ namespace BlackMisc
|
||||
}
|
||||
}
|
||||
|
||||
//! \copydoc CValueObject::toJson
|
||||
//! \copydoc BlackMisc::Mixin::JsonByTuple::toJson
|
||||
QJsonObject toJson() const
|
||||
{
|
||||
QJsonArray array;
|
||||
@@ -245,7 +245,7 @@ namespace BlackMisc
|
||||
return json;
|
||||
}
|
||||
|
||||
//! \copydoc CValueObject::convertFromJson
|
||||
//! \copydoc BlackMisc::Mixin::JsonByTuple::convertFromJson
|
||||
void convertFromJson(const QJsonObject &json)
|
||||
{
|
||||
QJsonArray array = json.value("associativecontainerbase").toArray();
|
||||
@@ -410,7 +410,7 @@ namespace BlackMisc
|
||||
//! Test for inequality.
|
||||
friend bool operator !=(const CDictionary &a, const CDictionary &b) { return !(a == b); }
|
||||
|
||||
//! \copydoc BlackMisc::CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const
|
||||
{
|
||||
QString str;
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace BlackMisc
|
||||
//! Normal vector with double precision
|
||||
virtual std::array<double, 3> normalVectorDouble() const = 0;
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! Latitude as string
|
||||
@@ -174,10 +174,10 @@ namespace BlackMisc
|
||||
//! \copydoc ICoordinateGeodetic::normalVectorDouble
|
||||
virtual std::array<double, 3> normalVectorDouble() const;
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! Switch unit of height
|
||||
@@ -204,7 +204,7 @@ namespace BlackMisc
|
||||
//! Coordinate by WGS84 position data
|
||||
static CCoordinateGeodetic fromWgs84(const QString &latitudeWgs84, const QString &longitudeWgs84, const BlackMisc::PhysicalQuantities::CLength &geodeticHeight = {});
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace BlackMisc
|
||||
//! Multiply operator *
|
||||
LATorLON operator *(double multiply) const;
|
||||
|
||||
//! \copydoc CValueObject::toIcon
|
||||
//! \copydoc BlackMisc::Mixin::Icon::toIcon
|
||||
CIcon toIcon() const;
|
||||
|
||||
/*!
|
||||
@@ -67,7 +67,7 @@ namespace BlackMisc
|
||||
CEarthAngle(const BlackMisc::PhysicalQuantities::CAngle &angle);
|
||||
|
||||
public:
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace BlackMisc
|
||||
BLACKMISC_DECLARE_USING_MIXIN_STRING(CLatitude)
|
||||
BLACKMISC_DECLARE_USING_MIXIN_INDEX(CLatitude)
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const
|
||||
{
|
||||
QString s(CEarthAngle::convertToQString(i18n));
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace BlackMisc
|
||||
BLACKMISC_DECLARE_USING_MIXIN_STRING(CLongitude)
|
||||
BLACKMISC_DECLARE_USING_MIXIN_INDEX(CLongitude)
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const
|
||||
{
|
||||
QString s(CEarthAngle::convertToQString(i18n));
|
||||
|
||||
@@ -119,7 +119,7 @@ namespace BlackMisc
|
||||
//! Implicit conversion
|
||||
operator QPixmap() const { return this->toPixmap(); }
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! Icon for given index
|
||||
|
||||
@@ -83,13 +83,13 @@ namespace BlackMisc
|
||||
//! Check if originating from the same process name
|
||||
bool isFromSameProcessName() const;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
private:
|
||||
|
||||
@@ -72,13 +72,13 @@ namespace BlackMisc
|
||||
//! Is hotkey valid?
|
||||
bool isValid() const { return !m_identifier.getMachineName().isEmpty() && !m_combination.isEmpty() && !m_action.isEmpty(); }
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace BlackMisc
|
||||
//! E.g. CTRL would be a subset of CTRL+D
|
||||
bool isSubsetOf(const CHotkeyCombination &other) const;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -54,10 +54,10 @@ namespace BlackMisc
|
||||
//! Set button object
|
||||
void setButtonObject(const CJoystickButton &button);
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const CPropertyIndex &index) const;
|
||||
|
||||
//! Button index to string
|
||||
@@ -69,7 +69,7 @@ namespace BlackMisc
|
||||
//! Invalid button index
|
||||
static int getInvalidIndex() { return m_invalidIndex; }
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -73,13 +73,13 @@ namespace BlackMisc
|
||||
//! Set key object
|
||||
void setKeyObject(const CKeyboardKey &key);
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -138,7 +138,7 @@ namespace BlackMisc
|
||||
//! Returns true if the category string contains the given substring.
|
||||
bool contains(const QString &substring) const { return m_string.contains(substring); }
|
||||
|
||||
//! \copydoc CValueObject::convertToQString()
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString()
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -100,7 +100,7 @@ namespace BlackMisc
|
||||
//! Register metadata
|
||||
static void registerMetadata();
|
||||
|
||||
//! \copydoc BlackMisc::CValueObject::convertToQString
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -83,13 +83,13 @@ namespace BlackMisc
|
||||
//! topological sorting algorithm, to sort patterns by their generality.
|
||||
bool isProperSubsetOf(const CLogPattern &other) const;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString()
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString()
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! \copydoc CValueObject::marshallToDbus()
|
||||
//! \copydoc BlackMisc::Mixin::DBusByTuple::marshallToDbus()
|
||||
void marshallToDbus(QDBusArgument &argument) const;
|
||||
|
||||
//! \copydoc CValueObject::marshallFromDbus()
|
||||
//! \copydoc BlackMisc::Mixin::DBusByTuple::unmarshallFromDbus()
|
||||
void unmarshallFromDbus(const QDBusArgument &argument);
|
||||
|
||||
//! \copydoc CValueObject::qHash
|
||||
|
||||
@@ -51,19 +51,19 @@ namespace BlackMisc
|
||||
//! Set variant.
|
||||
void setVariant(const CVariant &variant) { m_variant = variant; }
|
||||
|
||||
//! \copydoc CValueObject::toIcon()
|
||||
//! \copydoc BlackMisc::Mixin::Icon::toIcon()
|
||||
BlackMisc::CIcon toIcon() const;
|
||||
|
||||
//! Has icon
|
||||
bool hasIcon() const;
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! \copydoc CValueObject::convertToQString()
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString()
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user