增加接口更新无线网络自动连接状态

This commit is contained in:
zhangyuanyuan 2022-12-08 09:49:15 +08:00 committed by zhangyuanyuan1
parent 54a3d72940
commit 7010120c2d
2 changed files with 7 additions and 0 deletions

View File

@ -178,6 +178,7 @@ public Q_SLOTS:
void onUpdateWirelessEnterPriseTlsConnect(const QString &uuid, const KyEapMethodTlsInfo &tlsinfo); void onUpdateWirelessEnterPriseTlsConnect(const QString &uuid, const KyEapMethodTlsInfo &tlsinfo);
void onUpdateWirelessEnterPrisePeapConnect(const QString &uuid, const KyEapMethodPeapInfo &peapInfo); void onUpdateWirelessEnterPrisePeapConnect(const QString &uuid, const KyEapMethodPeapInfo &peapInfo);
void onUpdateWirelessEnterPriseTtlsConnect(const QString &uuid, const KyEapMethodTtlsInfo &ttlsInfo); void onUpdateWirelessEnterPriseTtlsConnect(const QString &uuid, const KyEapMethodTtlsInfo &ttlsInfo);
void onUpdateWirelessAutoConnectState(const QString &uuid, bool bAutoConnect);
}; };
#endif // KYLINNETWORKMANAGER_H #endif // KYLINNETWORKMANAGER_H

View File

@ -363,3 +363,9 @@ void KyNetworkManager::onUpdateWirelessEnterPriseTtlsConnect(const QString &uuid
KyWirelessConnectOperation operate; KyWirelessConnectOperation operate;
operate.updateWirelessEnterPriseTtlsConnect(uuid, ttlsInfo); operate.updateWirelessEnterPriseTtlsConnect(uuid, ttlsInfo);
} }
void KyNetworkManager::onUpdateWirelessAutoConnectState(const QString &uuid, bool bAutoConnect)
{
KyWirelessConnectOperation operate;
operate.setWirelessAutoConnect(uuid, bAutoConnect);
}