NetworkManagerQt

teamsetting.h
1/*
2 SPDX-FileCopyrightText: 2014 Lukáš Tinkl <ltinkl@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_TEAM_SETTING_H
8#define NETWORKMANAGERQT_TEAM_SETTING_H
9
10#include "setting.h"
11#include <networkmanagerqt/networkmanagerqt_export.h>
12
13#include <QString>
14
15namespace NetworkManager
16{
17class TeamSettingPrivate;
18
19/**
20 * Represents team setting
21 */
22class NETWORKMANAGERQT_EXPORT TeamSetting : public Setting
23{
24public:
26 typedef QList<Ptr> List;
28 explicit TeamSetting(const Ptr &other);
29 ~TeamSetting() override;
30
31 QString name() const override;
32
33 /// @deprecated in favor of connection.interface-name in NM 1.0.0
34 void setInterfaceName(const QString &name);
35 QString interfaceName() const;
36
37 QString config() const;
38 void setConfig(const QString &config);
39
40 void fromMap(const QVariantMap &setting) override;
41
42 QVariantMap toMap() const override;
43
44protected:
45 TeamSettingPrivate *d_ptr;
46
47private:
48 Q_DECLARE_PRIVATE(TeamSetting)
49};
50
51NETWORKMANAGERQT_EXPORT QDebug operator<<(QDebug dbg, const TeamSetting &setting);
52
53}
54
55#endif // NETWORKMANAGERQT_TEAM_SETTING_H
Base class for all kinds of setting.
Definition setting.h:30
Represents team setting.
Definition teamsetting.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 Mon Nov 18 2024 12:08:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.