mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Fixed clazy warnings: fully-qualified signal parameter types.
This commit is contained in:
@@ -337,7 +337,7 @@ namespace BlackCore
|
|||||||
|
|
||||||
signals:
|
signals:
|
||||||
//! Simulator combined status
|
//! Simulator combined status
|
||||||
void simulatorStatusChanged(SimulatorStatus status); // use emitSimulatorCombinedStatus to emit
|
void simulatorStatusChanged(BlackCore::ISimulator::SimulatorStatus status); // use emitSimulatorCombinedStatus to emit
|
||||||
|
|
||||||
//! Emitted when own aircraft model has changed
|
//! Emitted when own aircraft model has changed
|
||||||
void ownAircraftModelChanged(const BlackMisc::Simulation::CAircraftModel &model);
|
void ownAircraftModelChanged(const BlackMisc::Simulation::CAircraftModel &model);
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
signals:
|
signals:
|
||||||
//! Top level has changed for given widget
|
//! Top level has changed for given widget
|
||||||
void widgetTopLevelChanged(CDockWidget *, bool topLevel);
|
void widgetTopLevelChanged(BlackGui::CDockWidget *, bool topLevel);
|
||||||
|
|
||||||
//! Font size signals @{
|
//! Font size signals @{
|
||||||
void fontSizePlus();
|
void fontSizePlus();
|
||||||
|
|||||||
@@ -53,14 +53,14 @@ namespace BlackGui
|
|||||||
|
|
||||||
signals:
|
signals:
|
||||||
//! Filter button clicked
|
//! Filter button clicked
|
||||||
void buttonClicked(FilterButton filterButton);
|
void buttonClicked(BlackGui::Filters::CFilterBarButtons::FilterButton filterButton);
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
//! Row count has been changed
|
//! Row count has been changed
|
||||||
void onRowCountChanged(int count, bool withFilter);
|
void onRowCountChanged(int count, bool withFilter);
|
||||||
|
|
||||||
//! Trigger button
|
//! Trigger button
|
||||||
void clickButton(FilterButton filterButton);
|
void clickButton(BlackGui::Filters::CFilterBarButtons::FilterButton filterButton);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
//! Button was clicked
|
//! Button was clicked
|
||||||
|
|||||||
@@ -132,15 +132,15 @@ namespace BlackMisc
|
|||||||
signals:
|
signals:
|
||||||
//! Disk loading started
|
//! Disk loading started
|
||||||
//! \remark will only indicate loading from disk, not cache loading
|
//! \remark will only indicate loading from disk, not cache loading
|
||||||
void diskLoadingStarted(const CSimulatorInfo &simulator, LoadMode loadMode);
|
void diskLoadingStarted(const BlackMisc::Simulation::CSimulatorInfo &simulator, BlackMisc::Simulation::IAircraftModelLoader::LoadMode loadMode);
|
||||||
|
|
||||||
//! Parsing is finished or cache has been loaded
|
//! Parsing is finished or cache has been loaded
|
||||||
//! \remark does to fire if the cache has been changed elsewhere and it has just been reloaded here!
|
//! \remark does to fire if the cache has been changed elsewhere and it has just been reloaded here!
|
||||||
void loadingFinished(const CStatusMessageList &status, const CSimulatorInfo &simulator, LoadFinishedInfo info);
|
void loadingFinished(const BlackMisc::CStatusMessageList &status, const BlackMisc::Simulation::CSimulatorInfo &simulator, BlackMisc::Simulation::IAircraftModelLoader::LoadFinishedInfo info);
|
||||||
|
|
||||||
//! Relayed from centralized caches
|
//! Relayed from centralized caches
|
||||||
//! \remark this can result from loading, the cache changed elsewhere or clearing data
|
//! \remark this can result from loading, the cache changed elsewhere or clearing data
|
||||||
void cacheChanged(const CSimulatorInfo &simulator);
|
void cacheChanged(const BlackMisc::Simulation::CSimulatorInfo &simulator);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
@@ -219,13 +219,13 @@ namespace BlackMisc
|
|||||||
|
|
||||||
signals:
|
signals:
|
||||||
//! \copydoc IAircraftModelLoader::loadingFinished
|
//! \copydoc IAircraftModelLoader::loadingFinished
|
||||||
void loadingFinished(const CStatusMessageList &status, const CSimulatorInfo &simulator, IAircraftModelLoader::LoadFinishedInfo info);
|
void loadingFinished(const BlackMisc::CStatusMessageList &status, const BlackMisc::Simulation::CSimulatorInfo &simulator, BlackMisc::Simulation::IAircraftModelLoader::LoadFinishedInfo info);
|
||||||
|
|
||||||
//! \copydoc IAircraftModelLoader::diskLoadingStarted
|
//! \copydoc IAircraftModelLoader::diskLoadingStarted
|
||||||
void diskLoadingStarted(const CSimulatorInfo &simulator, IAircraftModelLoader::LoadMode mode);
|
void diskLoadingStarted(const BlackMisc::Simulation::CSimulatorInfo &simulator, BlackMisc::Simulation::IAircraftModelLoader::LoadMode mode);
|
||||||
|
|
||||||
//! \copydoc IAircraftModelLoader::cacheChanged
|
//! \copydoc IAircraftModelLoader::cacheChanged
|
||||||
void cacheChanged(const CSimulatorInfo &simulator);
|
void cacheChanged(const BlackMisc::Simulation::CSimulatorInfo &simulator);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
IAircraftModelLoader *m_loaderFsx = nullptr;
|
IAircraftModelLoader *m_loaderFsx = nullptr;
|
||||||
|
|||||||
@@ -277,7 +277,7 @@ namespace BlackMisc
|
|||||||
signals:
|
signals:
|
||||||
//! Cache has been changed
|
//! Cache has been changed
|
||||||
//! \note this detects caches changed elsewhere or set here (the normal caches detect only "elsewhere"
|
//! \note this detects caches changed elsewhere or set here (the normal caches detect only "elsewhere"
|
||||||
void cacheChanged(const CSimulatorInfo &simulator);
|
void cacheChanged(const BlackMisc::Simulation::CSimulatorInfo &simulator);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
//! Construtor
|
//! Construtor
|
||||||
|
|||||||
@@ -341,7 +341,7 @@ namespace BlackMisc
|
|||||||
|
|
||||||
signals:
|
signals:
|
||||||
//! Simulator settings have been changed
|
//! Simulator settings have been changed
|
||||||
void settingsChanged(const CSimulatorInfo &simulator);
|
void settingsChanged(const BlackMisc::Simulation::CSimulatorInfo &simulator);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
CSetting<Settings::TSimulatorFsx> m_simSettingsFsx { this, &CMultiSimulatorSettings::onFsxSettingsChanged }; //!< FSX settings
|
CSetting<Settings::TSimulatorFsx> m_simSettingsFsx { this, &CMultiSimulatorSettings::onFsxSettingsChanged }; //!< FSX settings
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ namespace BlackSound
|
|||||||
public slots:
|
public slots:
|
||||||
//! Play the list of tones.
|
//! Play the list of tones.
|
||||||
//! If the player is currently active, this call will be ignored.
|
//! If the player is currently active, this call will be ignored.
|
||||||
void play(int volume, const QList<CTonePair> &tonePairs);
|
void play(int volume, const QList<BlackSound::CTonePair> &tonePairs);
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
//! \copydoc BlackMisc::CContinuousWorker::initialize
|
//! \copydoc BlackMisc::CContinuousWorker::initialize
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ namespace BlackSimPlugin
|
|||||||
QString getVersionNumber();
|
QString getVersionNumber();
|
||||||
|
|
||||||
//! Get own aircraft situation data
|
//! Get own aircraft situation data
|
||||||
void getOwnAircraftSituationData(XPlaneData *o_xplaneData);
|
void getOwnAircraftSituationData(BlackSimPlugin::XPlane::XPlaneData *o_xplaneData);
|
||||||
|
|
||||||
//! \copydoc XSwiftBus::CService::addTextMessage
|
//! \copydoc XSwiftBus::CService::addTextMessage
|
||||||
void addTextMessage(const QString &text, double red, double green, double blue);
|
void addTextMessage(const QString &text, double red, double green, double blue);
|
||||||
|
|||||||
@@ -189,13 +189,13 @@ namespace BlackSimPlugin
|
|||||||
void removeAllPlanes();
|
void removeAllPlanes();
|
||||||
|
|
||||||
//! \copydoc XSwiftBus::CTraffic::setPlanesPositions
|
//! \copydoc XSwiftBus::CTraffic::setPlanesPositions
|
||||||
void setPlanesPositions(const PlanesPositions &planesPositions);
|
void setPlanesPositions(const BlackSimPlugin::XPlane::PlanesPositions &planesPositions);
|
||||||
|
|
||||||
//! \copydoc XSwiftBus::CTraffic::setPlanesSurfaces
|
//! \copydoc XSwiftBus::CTraffic::setPlanesSurfaces
|
||||||
void setPlanesSurfaces(const PlanesSurfaces &planesSurfaces);
|
void setPlanesSurfaces(const BlackSimPlugin::XPlane::PlanesSurfaces &planesSurfaces);
|
||||||
|
|
||||||
//! \copydoc XSwiftBus::CTraffic::setPlanesTransponders
|
//! \copydoc XSwiftBus::CTraffic::setPlanesTransponders
|
||||||
void setPlanesTransponders(const PlanesTransponders &planesTransponders);
|
void setPlanesTransponders(const BlackSimPlugin::XPlane::PlanesTransponders &planesTransponders);
|
||||||
|
|
||||||
//! \deprecated XSwiftBus::CTraffic::setInterpolatorMode
|
//! \deprecated XSwiftBus::CTraffic::setInterpolatorMode
|
||||||
void setInterpolatorMode(const QString &callsign, bool spline);
|
void setInterpolatorMode(const QString &callsign, bool spline);
|
||||||
|
|||||||
Reference in New Issue
Block a user