NetworkManagerQt

cdmasetting.h
1/*
2 SPDX-FileCopyrightText: 2012-2013 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_CDMA_SETTINGS_H
8#define NETWORKMANAGERQT_CDMA_SETTINGS_H
9
10#include "setting.h"
11#include <networkmanagerqt/networkmanagerqt_export.h>
12
13#include <QString>
14
15namespace NetworkManager
16{
17class CdmaSettingPrivate;
18
19/**
20 * Represents cdma setting
21 */
22class NETWORKMANAGERQT_EXPORT CdmaSetting : public Setting
23{
24public:
26 typedef QList<Ptr> List;
28 explicit CdmaSetting(const Ptr &other);
29 ~CdmaSetting() override;
30
31 QString name() const override;
32
33 void setNumber(const QString &number);
34 QString number() const;
35
36 void setUsername(const QString &username);
37 QString username() const;
38
39 void setPassword(const QString &password);
40 QString password() const;
41
42 void setPasswordFlags(SecretFlags flags);
43 SecretFlags passwordFlags() const;
44
45 QStringList needSecrets(bool requestNew = false) const override;
46
47 void secretsFromMap(const QVariantMap &secrets) override;
48
49 QVariantMap secretsToMap() const override;
50
51 void fromMap(const QVariantMap &setting) override;
52
53 QVariantMap toMap() const override;
54
55protected:
56 CdmaSettingPrivate *d_ptr;
57
58private:
59 Q_DECLARE_PRIVATE(CdmaSetting)
60};
61
62NETWORKMANAGERQT_EXPORT QDebug operator<<(QDebug dbg, const CdmaSetting &setting);
63
64}
65
66#endif // NETWORKMANAGERQT_CDMA_SETTINGS_H
Represents cdma setting.
Definition cdmasetting.h:23
Base class for all kinds of setting.
Definition setting.h:30
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 Dec 20 2024 11:59:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.