summaryrefslogtreecommitdiffstats
path: root/src/wifi/qwifimanager_p.h
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@theqtcompany.com>2015-02-09 14:10:09 +0100
committerGatis Paeglis <gatis.paeglis@theqtcompany.com>2015-02-17 15:01:27 +0200
commit8f343e8fb17c8bf02c7cda205004efb22592ae70 (patch)
tree0b8f911f1136a79c23290e203f530c1f263b8b3e /src/wifi/qwifimanager_p.h
parent2a992929f2f47080a898c0018ed73dfe86bedb37 (diff)
Simplify current SSID handling
by extracting SSID from "Trying to associate" message. Change-Id: If90e85d5cedf2366947c810a55fb486d7559d66f Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/wifi/qwifimanager_p.h')
-rw-r--r--src/wifi/qwifimanager_p.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/wifi/qwifimanager_p.h b/src/wifi/qwifimanager_p.h
index ef8a0da..6142c83 100644
--- a/src/wifi/qwifimanager_p.h
+++ b/src/wifi/qwifimanager_p.h
@@ -25,6 +25,8 @@
QT_BEGIN_NAMESPACE
+class QWifiEvent;
+
class QWifiManagerPrivate
{
Q_DECLARE_PUBLIC(QWifiManager)
@@ -33,11 +35,10 @@ public:
virtual ~QWifiManagerPrivate();
// methods
- QString getConnectedNetwork();
- void setCurrentSSID();
- void emitCurrentSSIDChanged();
+ void setCurrentSSID(const QString &ssid);
void handleConnected();
void handleDisconneced();
+ void handleAuthenticating(QWifiEvent *event);
void updateNetworkState(QWifiManager::NetworkState networkState);
void updateBackendState(QWifiManager::BackendState backendState);
@@ -57,9 +58,7 @@ public:
QByteArray m_interface;
QWifiManager::BackendState m_backendState;
QWifiManager::NetworkState m_networkState;
- bool m_setCurrentSSID;
QString m_currentSSID;
- QString m_previousSSID;
QString m_lastError;
};