mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Ref T566, added DBus streaming operators so the DECLARED enums can be used with DBus
This commit is contained in:
committed by
Mat Sutcliffe
parent
df119c6e98
commit
269bad3c42
@@ -309,9 +309,7 @@ namespace BlackCore
|
||||
|
||||
MatchingLog CContextSimulatorProxy::isMatchingMessagesEnabled() const
|
||||
{
|
||||
//! \fixme KB 2019-04 directly return MatchingLog causes issues with QDbusArgument
|
||||
const int r = m_dBusInterface->callDBusRet<int>(QLatin1String("isMatchingMessagesEnabled"));
|
||||
return static_cast<MatchingLog>(r);
|
||||
return m_dBusInterface->callDBusRet<MatchingLog>(QLatin1String("isMatchingMessagesEnabled"));
|
||||
}
|
||||
|
||||
void CContextSimulatorProxy::enableMatchingMessages(MatchingLog enabled)
|
||||
|
||||
Reference in New Issue
Block a user