From 7b09ef84b11d09018ab49eccbd337ce77d9fa75d Mon Sep 17 00:00:00 2001 From: jzxc95 <907297917@qq.com> Date: Fri, 2 Dec 2022 17:07:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8E=A5=E5=8F=A3=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=AE=89=E5=85=A8=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libnm-kylin/libnm-base-kylin/kylinnetworkmanager.h | 2 ++ libnm-kylin/libnm-base-kylin/kylinnetworkmanger.cpp | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/libnm-kylin/libnm-base-kylin/kylinnetworkmanager.h b/libnm-kylin/libnm-base-kylin/kylinnetworkmanager.h index 285d791f..86503576 100644 --- a/libnm-kylin/libnm-base-kylin/kylinnetworkmanager.h +++ b/libnm-kylin/libnm-base-kylin/kylinnetworkmanager.h @@ -124,6 +124,8 @@ public: //获取企业网类型 bool getEnterpiseEapMethod(const QString &uuid, KyEapMethodType &type); + //获取无线网配置安全类型 + KySecuType getConnectSecuType(const QString &uuid); bool wiredConnectIsActived(); bool wirelessConnectIsActived(); diff --git a/libnm-kylin/libnm-base-kylin/kylinnetworkmanger.cpp b/libnm-kylin/libnm-base-kylin/kylinnetworkmanger.cpp index 7c91e035..dc367677 100644 --- a/libnm-kylin/libnm-base-kylin/kylinnetworkmanger.cpp +++ b/libnm-kylin/libnm-base-kylin/kylinnetworkmanger.cpp @@ -207,6 +207,13 @@ bool KyNetworkManager::getEnterpiseEapMethod(const QString &uuid, KyEapMethodTyp return resource.getEnterpiseEapMethod(uuid, type); } +//获取无线网配置安全类型 +KySecuType KyNetworkManager::getConnectSecuType(const QString &uuid) +{ + KyWirelessConnectOperation operate; + return operate.getConnectSecuType(uuid); +} + bool KyNetworkManager::wiredConnectIsActived() { return m_activeConnectResource->wiredConnectIsActived();