![]() |
Qt 6.x
The Qt SDK
|
#include "qnetworkmanagerservice.h"
#include <QObject>
#include <QList>
#include <QtDBus/QDBusConnection>
#include <QtDBus/QDBusError>
#include <QtDBus/QDBusInterface>
#include <QtDBus/QDBusMessage>
#include <QtDBus/QDBusReply>
#include <QtDBus/QDBusPendingCallWatcher>
#include <QtDBus/QDBusObjectPath>
#include <QtDBus/QDBusPendingCall>
#include "moc_qnetworkmanagerservice.cpp"
Go to the source code of this file.
Macros | |
#define | DBUS_PROPERTIES_INTERFACE "org.freedesktop.DBus.Properties" |
#define | NM_DBUS_SERVICE "org.freedesktop.NetworkManager" |
#define | NM_DBUS_PATH "/org/freedesktop/NetworkManager" |
#define | NM_DBUS_INTERFACE NM_DBUS_SERVICE |
#define | NM_CONNECTION_DBUS_INTERFACE NM_DBUS_SERVICE ".Connection.Active" |
#define | NM_DEVICE_DBUS_INTERFACE NM_DBUS_SERVICE ".Device" |
Functions | |
static std::optional< QDBusInterface > | getPrimaryDevice (const QDBusObjectPath &devicePath) |
#define DBUS_PROPERTIES_INTERFACE "org.freedesktop.DBus.Properties" |
Definition at line 17 of file qnetworkmanagerservice.cpp.
#define NM_CONNECTION_DBUS_INTERFACE NM_DBUS_SERVICE ".Connection.Active" |
Definition at line 23 of file qnetworkmanagerservice.cpp.
#define NM_DBUS_INTERFACE NM_DBUS_SERVICE |
Definition at line 22 of file qnetworkmanagerservice.cpp.
#define NM_DBUS_PATH "/org/freedesktop/NetworkManager" |
Definition at line 21 of file qnetworkmanagerservice.cpp.
#define NM_DBUS_SERVICE "org.freedesktop.NetworkManager" |
Definition at line 19 of file qnetworkmanagerservice.cpp.
#define NM_DEVICE_DBUS_INTERFACE NM_DBUS_SERVICE ".Device" |
Definition at line 24 of file qnetworkmanagerservice.cpp.
|
static |
Definition at line 86 of file qnetworkmanagerservice.cpp.
References connection, NM_CONNECTION_DBUS_INTERFACE, NM_DBUS_SERVICE, NM_DEVICE_DBUS_INTERFACE, QDBusObjectPath::path(), QObject::property(), QDBusConnection::systemBus(), and QVariant::value().