1/*
2 SPDX-FileCopyrightText: 2009, 2011 Will Stephenson <wstephenson@kde.org>
3 SPDX-FileCopyrightText: 2013 Jan Grulich <jgrulich@redhat.com>
4
5 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6*/
7
8#ifndef NETWORKMANAGERQT_WIRELESSNETWORK_P_H
9#define NETWORKMANAGERQT_WIRELESSNETWORK_P_H
10
11#include "wirelessdevice.h"
12
13#include <QPointer>
14
15namespace NetworkManager
16{
17class WirelessNetworkPrivate
18{
19public:
20 Q_DECLARE_PUBLIC(WirelessNetwork)
21 WirelessNetwork *q_ptr;
22
23 WirelessNetworkPrivate(WirelessNetwork *q, WirelessDevice *);
24 ~WirelessNetworkPrivate();
25
26 void addAccessPointInternal(const AccessPoint::Ptr &accessPoint);
27
28 QString ssid;
29 int strength;
30 QPointer<WirelessDevice> wirelessNetworkInterface;
31 QHash<QString, AccessPoint::Ptr> aps;
32 AccessPoint::Ptr referenceAp;
33
34private Q_SLOTS:
35 void accessPointAppeared(const QString &uni);
36 void accessPointDisappeared(const QString &uni);
37 void updateStrength();
38};
39
40}
41
42#endif
43

source code of networkmanager-qt/src/wirelessnetwork_p.h