File indexing completed on 2024-12-01 07:25:49

0001 /*
0002     SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
0003     SPDX-License-Identifier: LGPL-2.0-or-later
0004 */
0005 
0006 #include "wifimonitor_p.h"
0007 
0008 using namespace KPublicTransport;
0009 
0010 QString WifiMonitor::ssid() const
0011 {
0012     return m_ssid;
0013 }
0014 
0015 void WifiMonitor::setSsid(const QString &ssid)
0016 {
0017     if (m_ssid == ssid) {
0018         return;
0019     }
0020 
0021     m_ssid = ssid;
0022     Q_EMIT wifiChanged();
0023 }