NetworkManagerQt
connection.cpp
49 connect(&d->iface, &OrgFreedesktopNetworkManagerSettingsConnectionInterface::Updated, d, &ConnectionPrivate::onConnectionUpdated);
50 connect(&d->iface, &OrgFreedesktopNetworkManagerSettingsConnectionInterface::Removed, d, &ConnectionPrivate::onConnectionRemoved);
192 QVariantMap connectionSetting = settings.value(QLatin1String(NM_SETTING_CONNECTION_SETTING_NAME));
Represents collection of all connection settings.
Definition connectionsettings.h:30
This class represents a single network connection configuration.
Definition connection.h:28
QDBusPendingReply< NMVariantMapMap > secrets(const QString &setting)
Retrieves this connections's secrets (passwords and / or encryption keys).
Definition connection.cpp:100
QDBusPendingReply clearSecrets()
Clear the secrets belonging to this network connection profile.
Definition connection.cpp:124
QDBusPendingReply save()
Saves a "dirty" connection (that had previously been updated with updateUnsaved()) to persistent stor...
Definition connection.cpp:118
bool isUnsaved() const
If set, indicates that the in-memory state of the connection does not match the on-disk state.
Definition connection.cpp:84
ConnectionSettings::Ptr settings()
Returns the settings of this connection.
Definition connection.cpp:90
QDBusPendingReply updateUnsaved(const NMVariantMapMap &settings)
Update the connection with new settings and properties (replacing all previous settings and propertie...
Definition connection.cpp:112
QDBusPendingReply remove()
Removes the connection from NetworkManager database, this operation does not ask for confirmation but...
Definition connection.cpp:130
Connection(const QString &path, QObject *parent=nullptr)
Constructs a connection object for the given path.
Definition connection.cpp:33
QDBusPendingReply update(const NMVariantMapMap &settings)
Update the connection with new settings and properties, replacing all previous settings and propertie...
Definition connection.cpp:106
QString path(const QString &relativePath)
KGuiItem properties()
bool connect(const QString &service, const QString &path, const QString &interface, const QString &name, QObject *receiver, const char *slot)
QDBusConnection sessionBus()
QDBusConnection systemBus()
bool isValid() const const
void clear()
bool isEmpty() const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
Q_D(Todo)
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
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.