1/*
2 SPDX-FileCopyrightText: 2012-2013 Jan Grulich <jgrulich@redhat.com>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef NETWORKMANAGERQT_CONNECTION_SETTINGS_P_H
8#define NETWORKMANAGERQT_CONNECTION_SETTINGS_P_H
9
10#include "setting.h"
11
12#include <QDateTime>
13#include <QHash>
14#include <QString>
15
16namespace NetworkManager
17{
18class ConnectionSettingsPrivate
19{
20public:
21 Q_DECLARE_PUBLIC(ConnectionSettings)
22
23 explicit ConnectionSettingsPrivate(ConnectionSettings *q);
24
25 void addSetting(const NetworkManager::Setting::Ptr &setting);
26 void clearSettings();
27 void initSettings(NMBluetoothCapabilities bt_cap);
28 void initSettings(const NetworkManager::ConnectionSettings::Ptr &connectionSettings);
29
30 QString name;
31 QString id;
32 QString uuid;
33 QString interfaceName;
34 NetworkManager::ConnectionSettings::ConnectionType type;
35 QHash<QString, QString> permissions;
36 bool autoconnect;
37 QDateTime timestamp;
38 bool readOnly;
39 QString zone;
40 QString master;
41 QString slaveType;
42 QStringList secondaries;
43 quint32 gatewayPingTimeout;
44 int autoconnectPriority;
45 int autoconnectRetries;
46 NetworkManager::ConnectionSettings::AutoconnectSlaves autoconnectSlaves;
47 NetworkManager::ConnectionSettings::Lldp lldp;
48 NetworkManager::ConnectionSettings::Metered metered;
49 NetworkManager::ConnectionSettings::Mdns mdns;
50 QString stableId;
51 Setting::List settings;
52
53 ConnectionSettings *q_ptr;
54};
55
56}
57
58#endif // NETWORKMANAGERQT_CONNECTION_SETTINGS_P_H
59

source code of networkmanager-qt/src/settings/connectionsettings_p.h