File indexing completed on 2024-04-14 03:57:42

0001 /*
0002     SPDX-FileCopyrightText: 2011 Lamarque V. Souza <lamarque@kde.org>
0003     SPDX-FileCopyrightText: 2014 Jan Grulich <jgrulich@redhat.com>
0004 
0005     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0006 */
0007 
0008 #ifndef NETWORKMANAGERQT_DHCP4CONFIG_P_H
0009 #define NETWORKMANAGERQT_DHCP4CONFIG_P_H
0010 
0011 #include "dbus/dhcp4configinterface.h"
0012 #include "dhcp4config.h"
0013 
0014 namespace NetworkManager
0015 {
0016 class Dhcp4ConfigPrivate : public QObject
0017 {
0018     Q_OBJECT
0019 public:
0020     Dhcp4ConfigPrivate(const QString &path, Dhcp4Config *q);
0021     ~Dhcp4ConfigPrivate() override;
0022     OrgFreedesktopNetworkManagerDHCP4ConfigInterface dhcp4Iface;
0023     QString myPath;
0024     QVariantMap options;
0025 
0026     Q_DECLARE_PUBLIC(Dhcp4Config)
0027     Dhcp4Config *q_ptr;
0028 protected Q_SLOTS:
0029     void dbusPropertiesChanged(const QString &interfaceName, const QVariantMap &properties, const QStringList &invalidatedProperties);
0030     void dhcp4PropertiesChanged(const QVariantMap &);
0031 };
0032 
0033 } // namespace NetworkManager
0034 
0035 #endif