1/*
2 SPDX-FileCopyrightText: 2008 Will Stephenson <wstephenson@kde.org>
3 SPDX-FileCopyrightText: 2013 Daniel Nicoletti <dantti12@gmail.com>
4 SPDX-FileCopyrightText: 2013-2014 Jan Grulich <jgrulich@redhat.com>
5
6 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7*/
8
9#ifndef NETWORKMANAGERQT_ACCESSPOINT_P_H
10#define NETWORKMANAGERQT_ACCESSPOINT_P_H
11
12#include "accesspoint.h"
13#include "dbus/accesspointinterface.h"
14
15namespace NetworkManager
16{
17class AccessPointPrivate : public QObject
18{
19 Q_OBJECT
20public:
21 AccessPointPrivate(const QString &path, AccessPoint *q);
22
23 OrgFreedesktopNetworkManagerAccessPointInterface iface;
24 QString uni;
25 AccessPoint::Capabilities capabilities;
26 AccessPoint::WpaFlags wpaFlags;
27 AccessPoint::WpaFlags rsnFlags;
28 QString ssid;
29 QByteArray rawSsid;
30 uint frequency;
31 QString hardwareAddress;
32 uint maxBitRate;
33 AccessPoint::OperationMode mode;
34 int signalStrength;
35
36 int lastSeen;
37
38 NetworkManager::AccessPoint::Capabilities convertCapabilities(int caps);
39 NetworkManager::AccessPoint::WpaFlags convertWpaFlags(uint theirFlags);
40
41 Q_DECLARE_PUBLIC(AccessPoint)
42 AccessPoint *q_ptr;
43private Q_SLOTS:
44 void dbusPropertiesChanged(const QString &interfaceName, const QVariantMap &properties, const QStringList &invalidatedProperties);
45 void propertiesChanged(const QVariantMap &properties);
46};
47
48} // namespace NetworkManager
49
50#endif // NETWORKMANAGERQT_ACCESSPOINT_P_H
51

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