Qt 4.8
Functions | Variables
qconnmanservice_linux.cpp File Reference
#include <QObject>
#include <QList>
#include <QtDBus/QtDBus>
#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 "qconnmanservice_linux_p.h"

Go to the source code of this file.

Functions

QDBusArgumentoperator<< (QDBusArgument &argument, const ConnmanMap &map)
 
const QDBusArgumentoperator>> (const QDBusArgument &argument, ConnmanMap &map)
 

Variables

static QDBusConnection dbusConnection = QDBusConnection::systemBus()
 

Function Documentation

◆ operator<<()

QDBusArgument& operator<< ( QDBusArgument argument,
const ConnmanMap map 
)

Definition at line 62 of file qconnmanservice_linux.cpp.

63 {
64  argument.beginStructure();
65  argument << map.objectPath << map.propertyMap;
66  argument.endStructure();
67  return argument;
68 }
void endStructure()
Closes a D-Bus structure opened with beginStructure().
void beginStructure()
Opens a new D-Bus structure suitable for appending new arguments.
QDBusObjectPath objectPath
QVariantMap propertyMap

◆ operator>>()

const QDBusArgument& operator>> ( const QDBusArgument argument,
ConnmanMap map 
)

Definition at line 70 of file qconnmanservice_linux.cpp.

71 {
72  argument.beginStructure();
73  argument >> map.objectPath >> map.propertyMap;
74  argument.endStructure();
75  return argument;
76 }
void endStructure()
Closes a D-Bus structure opened with beginStructure().
void beginStructure()
Opens a new D-Bus structure suitable for appending new arguments.
QDBusObjectPath objectPath
QVariantMap propertyMap

Variable Documentation

◆ dbusConnection

QDBusConnection dbusConnection = QDBusConnection::systemBus()
static

Definition at line 78 of file qconnmanservice_linux.cpp.