mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-03 16:25:54 +08:00
refs #308 QMetaObject always requires the full namespace for string based lookup
This commit is contained in:
@@ -23,7 +23,6 @@ namespace BlackSimPlugin
|
|||||||
void registerMetadata()
|
void registerMetadata()
|
||||||
{
|
{
|
||||||
qRegisterMetaType<CFs9Host::HostStatus>();
|
qRegisterMetaType<CFs9Host::HostStatus>();
|
||||||
qRegisterMetaType<CFs9Host::HostStatus>("CFs9Host::HostStatus");
|
|
||||||
qRegisterMetaType<CFs9Client::ClientStatus>();
|
qRegisterMetaType<CFs9Client::ClientStatus>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ namespace BlackSimPlugin
|
|||||||
void clientTimedOut(const QString &callsign);
|
void clientTimedOut(const QString &callsign);
|
||||||
|
|
||||||
//! Client status changed
|
//! Client status changed
|
||||||
void statusChanged(CFs9Client::ClientStatus);
|
void statusChanged(const QString &callsign, BlackSimPlugin::Fs9::CFs9Client::ClientStatus);
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ namespace BlackSimPlugin
|
|||||||
signals:
|
signals:
|
||||||
|
|
||||||
//! Hosting status changed
|
//! Hosting status changed
|
||||||
void statusChanged(CFs9Host::HostStatus);
|
void statusChanged(BlackSimPlugin::Fs9::CFs9Host::HostStatus);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ namespace BlackSimPlugin
|
|||||||
emit aircraftModelChanged(m_aircraftModel);
|
emit aircraftModelChanged(m_aircraftModel);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSimulatorFs9::ps_changeHostStatus(CFs9Host::HostStatus status)
|
void CSimulatorFs9::ps_changeHostStatus(BlackSimPlugin::Fs9::CFs9Host::HostStatus status)
|
||||||
{
|
{
|
||||||
switch (status)
|
switch (status)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ namespace BlackSimPlugin
|
|||||||
void ps_changeOwnAircraftModel(const QString &modelname);
|
void ps_changeOwnAircraftModel(const QString &modelname);
|
||||||
|
|
||||||
//! Change DirectPlay host status
|
//! Change DirectPlay host status
|
||||||
void ps_changeHostStatus(CFs9Host::HostStatus status);
|
void ps_changeHostStatus(BlackSimPlugin::Fs9::CFs9Host::HostStatus status);
|
||||||
|
|
||||||
void ps_changeClientStatus(const QString &callsign, BlackSimPlugin::Fs9::CFs9Client::ClientStatus status);
|
void ps_changeClientStatus(const QString &callsign, BlackSimPlugin::Fs9::CFs9Client::ClientStatus status);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user