Fixed clazy warnings: fully-qualified signal parameter types.

This commit is contained in:
Mat Sutcliffe
2018-12-17 16:45:04 +00:00
parent 9f85a7b560
commit e32ea65a27
9 changed files with 17 additions and 17 deletions

View File

@@ -337,7 +337,7 @@ namespace BlackCore
signals:
//! 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
void ownAircraftModelChanged(const BlackMisc::Simulation::CAircraftModel &model);

View File

@@ -146,7 +146,7 @@ namespace BlackGui
signals:
//! Top level has changed for given widget
void widgetTopLevelChanged(CDockWidget *, bool topLevel);
void widgetTopLevelChanged(BlackGui::CDockWidget *, bool topLevel);
//! Font size signals @{
void fontSizePlus();

View File

@@ -53,14 +53,14 @@ namespace BlackGui
signals:
//! Filter button clicked
void buttonClicked(FilterButton filterButton);
void buttonClicked(BlackGui::Filters::CFilterBarButtons::FilterButton filterButton);
public slots:
//! Row count has been changed
void onRowCountChanged(int count, bool withFilter);
//! Trigger button
void clickButton(FilterButton filterButton);
void clickButton(BlackGui::Filters::CFilterBarButtons::FilterButton filterButton);
private slots:
//! Button was clicked

View File

@@ -132,15 +132,15 @@ namespace BlackMisc
signals:
//! Disk loading started
//! \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
//! \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
//! \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:
//! Constructor
@@ -219,13 +219,13 @@ namespace BlackMisc
signals:
//! \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
void diskLoadingStarted(const CSimulatorInfo &simulator, IAircraftModelLoader::LoadMode mode);
void diskLoadingStarted(const BlackMisc::Simulation::CSimulatorInfo &simulator, BlackMisc::Simulation::IAircraftModelLoader::LoadMode mode);
//! \copydoc IAircraftModelLoader::cacheChanged
void cacheChanged(const CSimulatorInfo &simulator);
void cacheChanged(const BlackMisc::Simulation::CSimulatorInfo &simulator);
private:
IAircraftModelLoader *m_loaderFsx = nullptr;

View File

@@ -277,7 +277,7 @@ namespace BlackMisc
signals:
//! Cache has been changed
//! \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:
//! Construtor

View File

@@ -341,7 +341,7 @@ namespace BlackMisc
signals:
//! Simulator settings have been changed
void settingsChanged(const CSimulatorInfo &simulator);
void settingsChanged(const BlackMisc::Simulation::CSimulatorInfo &simulator);
private:
CSetting<Settings::TSimulatorFsx> m_simSettingsFsx { this, &CMultiSimulatorSettings::onFsxSettingsChanged }; //!< FSX settings

View File

@@ -43,7 +43,7 @@ namespace BlackSound
public slots:
//! Play the list of tones.
//! 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:
//! \copydoc BlackMisc::CContinuousWorker::initialize

View File

@@ -100,7 +100,7 @@ namespace BlackSimPlugin
QString getVersionNumber();
//! Get own aircraft situation data
void getOwnAircraftSituationData(XPlaneData *o_xplaneData);
void getOwnAircraftSituationData(BlackSimPlugin::XPlane::XPlaneData *o_xplaneData);
//! \copydoc XSwiftBus::CService::addTextMessage
void addTextMessage(const QString &text, double red, double green, double blue);

View File

@@ -189,13 +189,13 @@ namespace BlackSimPlugin
void removeAllPlanes();
//! \copydoc XSwiftBus::CTraffic::setPlanesPositions
void setPlanesPositions(const PlanesPositions &planesPositions);
void setPlanesPositions(const BlackSimPlugin::XPlane::PlanesPositions &planesPositions);
//! \copydoc XSwiftBus::CTraffic::setPlanesSurfaces
void setPlanesSurfaces(const PlanesSurfaces &planesSurfaces);
void setPlanesSurfaces(const BlackSimPlugin::XPlane::PlanesSurfaces &planesSurfaces);
//! \copydoc XSwiftBus::CTraffic::setPlanesTransponders
void setPlanesTransponders(const PlanesTransponders &planesTransponders);
void setPlanesTransponders(const BlackSimPlugin::XPlane::PlanesTransponders &planesTransponders);
//! \deprecated XSwiftBus::CTraffic::setInterpolatorMode
void setInterpolatorMode(const QString &callsign, bool spline);