Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qnetworkmanagerservice.cpp File Reference

(1534709d7ec0762c91a3d4c47800d24092eb3edb)

#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"
Include dependency graph for 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< QDBusInterfacegetPrimaryDevice (const QDBusObjectPath &devicePath)

Macro Definition Documentation

◆ DBUS_PROPERTIES_INTERFACE

#define DBUS_PROPERTIES_INTERFACE   "org.freedesktop.DBus.Properties"_L1

Definition at line 19 of file qnetworkmanagerservice.cpp.

◆ NM_CONNECTION_DBUS_INTERFACE

#define NM_CONNECTION_DBUS_INTERFACE   NM_DBUS_SERVICE ".Connection.Active"_L1

Definition at line 25 of file qnetworkmanagerservice.cpp.

◆ NM_DBUS_INTERFACE

#define NM_DBUS_INTERFACE   "org.freedesktop.NetworkManager"

Definition at line 21 of file qnetworkmanagerservice.cpp.

◆ NM_DBUS_PATH

#define NM_DBUS_PATH   "/org/freedesktop/NetworkManager"_L1

Definition at line 24 of file qnetworkmanagerservice.cpp.

◆ NM_DBUS_SERVICE

#define NM_DBUS_SERVICE   NM_DBUS_INTERFACE ""_L1

Definition at line 22 of file qnetworkmanagerservice.cpp.

◆ NM_DEVICE_DBUS_INTERFACE

#define NM_DEVICE_DBUS_INTERFACE   NM_DBUS_SERVICE ".Device"_L1

Definition at line 26 of file qnetworkmanagerservice.cpp.

Function Documentation

◆ getPrimaryDevice()

std::optional< QDBusInterface > getPrimaryDevice ( const QDBusObjectPath & devicePath)
static

Definition at line 111 of file qnetworkmanagerservice.cpp.