Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qnetworkmanagerservice.h"
#include "qnetworkmanagernetworkinformationbackend.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"_L1 |
#define | NM_DBUS_INTERFACE "org.freedesktop.NetworkManager" |
#define | NM_DBUS_SERVICE NM_DBUS_INTERFACE ""_L1 |
#define | NM_DBUS_PATH "/org/freedesktop/NetworkManager"_L1 |
#define | NM_CONNECTION_DBUS_INTERFACE NM_DBUS_SERVICE ".Connection.Active"_L1 |
#define | NM_DEVICE_DBUS_INTERFACE NM_DBUS_SERVICE ".Device"_L1 |
Functions | |
static std::optional< QDBusInterface > | getPrimaryDevice (const QDBusObjectPath &devicePath) |
#define DBUS_PROPERTIES_INTERFACE "org.freedesktop.DBus.Properties"_L1 |
Definition at line 18 of file qnetworkmanagerservice.cpp.
Referenced by QNetworkManagerInterface::QNetworkManagerInterface(), and QNetworkManagerInterface::~QNetworkManagerInterface().
#define NM_CONNECTION_DBUS_INTERFACE NM_DBUS_SERVICE ".Connection.Active"_L1 |
Definition at line 24 of file qnetworkmanagerservice.cpp.
Referenced by getPrimaryDevice().
#define NM_DBUS_INTERFACE "org.freedesktop.NetworkManager" |
Definition at line 20 of file qnetworkmanagerservice.cpp.
#define NM_DBUS_PATH "/org/freedesktop/NetworkManager"_L1 |
Definition at line 23 of file qnetworkmanagerservice.cpp.
Referenced by QNetworkManagerInterface::QNetworkManagerInterface(), and QNetworkManagerInterface::~QNetworkManagerInterface().
#define NM_DBUS_SERVICE NM_DBUS_INTERFACE ""_L1 |
Definition at line 21 of file qnetworkmanagerservice.cpp.
Referenced by QNetworkManagerInterface::QNetworkManagerInterface(), QNetworkManagerInterface::~QNetworkManagerInterface(), and getPrimaryDevice().
#define NM_DEVICE_DBUS_INTERFACE NM_DBUS_SERVICE ".Device"_L1 |
Definition at line 25 of file qnetworkmanagerservice.cpp.
Referenced by getPrimaryDevice().
|
static |
Definition at line 110 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().