NetworkManagerQt

dhcp4config.h
1/*
2 SPDX-FileCopyrightText: 2011-2013 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_H
9#define NETWORKMANAGERQT_DHCP4CONFIG_H
10
11#include "generictypes.h"
12
13#include <networkmanagerqt/networkmanagerqt_export.h>
14
15#include <QSharedPointer>
16
17namespace NetworkManager
18{
19class Dhcp4ConfigPrivate;
20
21/**
22 * This class represents dhcp4 configuration
23 */
24class NETWORKMANAGERQT_EXPORT Dhcp4Config : public QObject
25{
26 Q_OBJECT
27public:
29 typedef QList<Ptr> List;
30
31 explicit Dhcp4Config(const QString &path, QObject *owner = nullptr);
32 ~Dhcp4Config() override;
33
34 QString path() const;
35
36 QVariantMap options() const;
37
38 QString optionValue(const QString &key) const;
39
40Q_SIGNALS:
41 void optionsChanged(const QVariantMap &);
42
43private:
44 Q_DECLARE_PRIVATE(Dhcp4Config)
45
46 Dhcp4ConfigPrivate *const d_ptr;
47};
48} // namespace NetworkManager
49
50#endif // NETWORKMANAGERQT_DHCP4CONFIG_H
This class represents dhcp4 configuration.
Definition dhcp4config.h:25
This class allows querying the underlying system to discover the available network interfaces and rea...
Definition accesspoint.h:21
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.