diff options
author | Gatis Paeglis <gatis.paeglis@theqtcompany.com> | 2015-02-02 10:51:22 +0100 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@theqtcompany.com> | 2015-02-09 13:27:14 +0200 |
commit | cd677b247532305ca67b1459bafe74a19cead7ad (patch) | |
tree | 02a9771122fe9fa7326256fb2a44d7c15cec9dba /src/wifi/qwificonfiguration.h | |
parent | a6176aedcfe6893c24f2f2975a6874273e9df15e (diff) |
Add support for hidden SSIDs
Wifi access points may be configured not to
broadcast its SSID, connecting to such networks
requires a SSID-specific probe request. Add new
property to WifiConfiguration for describing this
type of networks.
Change-Id: I068ac53936a860e3752e31b8151b87ba4308c510
Task-number: QTEE-816
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/wifi/qwificonfiguration.h')
-rw-r--r-- | src/wifi/qwificonfiguration.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wifi/qwificonfiguration.h b/src/wifi/qwificonfiguration.h index 9b03c9e..cdeb453 100644 --- a/src/wifi/qwificonfiguration.h +++ b/src/wifi/qwificonfiguration.h @@ -32,6 +32,7 @@ class Q_DECL_EXPORT QWifiConfiguration : public QObject Q_PROPERTY(QString ssid READ ssid WRITE setSsid) Q_PROPERTY(QString passphrase READ passphrase WRITE setPassphrase) Q_PROPERTY(QString protocol READ protocol WRITE setProtocol) + Q_PROPERTY(bool ssidHidden READ isSsidHidden WRITE setSsidHidden) public: explicit QWifiConfiguration(QObject *parent = 0); virtual ~QWifiConfiguration(); @@ -42,6 +43,8 @@ public: QString passphrase() const; void setProtocol(const QString &protocol); QString protocol() const; + void setSsidHidden(bool hidden); + bool isSsidHidden() const; private: Q_DISABLE_COPY(QWifiConfiguration) |