NetworkManagerQt

template.h
1/*
2 SPDX-FileCopyrightText: 2012-2015 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_TEMPLATE_SETTING_H
8#define NETWORKMANAGERQT_TEMPLATE_SETTING_H
9
10#include "setting.h"
11#include <networkmanagerqt/networkmanagerqt_export.h>
12
13#include <QString>
14
15namespace NetworkManager
16{
17class TemplateSettingPrivate;
18
19/**
20 * Represents generic setting
21 */
22class NETWORKMANAGERQT_EXPORT TemplateSetting : public Setting
23{
24public:
26 typedef QList<Ptr> List;
28 explicit TemplateSetting(const Ptr &other);
29 ~TemplateSetting() override;
30
31 QString name() const override;
32
33 void fromMap(const QVariantMap &setting) override;
34
35 QVariantMap toMap() const override;
36
37protected:
38 TemplateSettingPrivate *d_ptr;
39
40private:
41 Q_DECLARE_PRIVATE(TemplateSetting)
42};
43
44NETWORKMANAGERQT_EXPORT QDebug operator<<(QDebug dbg, const TemplateSetting &setting);
45
46}
47
48#endif // NETWORKMANAGERQT_TEMPLATE_SETTING_H
Base class for all kinds of setting.
Definition setting.h:30
Represents generic setting.
Definition template.h:23
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 Fri Nov 8 2024 11:48:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.