1 | /* |
---|---|
2 | SPDX-FileCopyrightText: 2011 Lamarque V. Souza <lamarque@kde.org> |
3 | SPDX-FileCopyrightText: 2014 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_DHCP4CONFIG_P_H |
9 | #define NETWORKMANAGERQT_DHCP4CONFIG_P_H |
10 | |
11 | #include "dbus/dhcp4configinterface.h" |
12 | #include "dhcp4config.h" |
13 | |
14 | namespace NetworkManager |
15 | { |
16 | class Dhcp4ConfigPrivate : public QObject |
17 | { |
18 | Q_OBJECT |
19 | public: |
20 | Dhcp4ConfigPrivate(const QString &path, Dhcp4Config *q); |
21 | ~Dhcp4ConfigPrivate() override; |
22 | OrgFreedesktopNetworkManagerDHCP4ConfigInterface dhcp4Iface; |
23 | QString myPath; |
24 | QVariantMap options; |
25 | |
26 | Q_DECLARE_PUBLIC(Dhcp4Config) |
27 | Dhcp4Config *q_ptr; |
28 | protected Q_SLOTS: |
29 | void dbusPropertiesChanged(const QString &interfaceName, const QVariantMap &properties, const QStringList &invalidatedProperties); |
30 | void dhcp4PropertiesChanged(const QVariantMap &); |
31 | }; |
32 | |
33 | } // namespace NetworkManager |
34 | |
35 | #endif |
36 |