7#ifndef NETWORKMANAGERQT_SETTING_H
8#define NETWORKMANAGERQT_SETTING_H
10#include <networkmanagerqt/networkmanagerqt_export.h>
12#include "generictypes.h"
15#include <libnm/NetworkManager.h>
16#define signals Q_SIGNALS
18#include <QSharedPointer>
83 enum MacAddressRandomization {
84 MacAddressRandomizationDefault = 0,
85 MacAddressRandomizationNever,
86 MacAddressRandomizationAlways,
89 static QString typeAsString(SettingType type);
90 static SettingType typeFromString(
const QString &type);
92 explicit Setting(SettingType type);
99 virtual void fromMap(
const QVariantMap &map);
104 virtual QVariantMap toMap()
const;
106 virtual void secretsFromMap(
const QVariantMap &map);
113 virtual void secretsFromStringMap(
const NMStringMap &map);
115 virtual QVariantMap secretsToMap()
const;
124 virtual QStringList needSecrets(
bool requestNew =
false)
const;
131 void setInitialized(
bool initialized);
135 void setType(SettingType type);
136 SettingType type()
const;
139 SettingPrivate *d_ptr;
Base class for all kinds of setting.
This class allows querying the underlying system to discover the available network interfaces and rea...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:55:21 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.