Qt 4.8
Functions | Variables
qofonoservice_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 "qofonoservice_linux_p.h"

Go to the source code of this file.

Functions

QDBusArgumentoperator<< (QDBusArgument &argument, const ObjectPathProperties &item)
 
const QDBusArgumentoperator>> (const QDBusArgument &argument, ObjectPathProperties &item)
 

Variables

static QDBusConnection dbusConnection = QDBusConnection::systemBus()
 

Function Documentation

◆ operator<<()

QDBusArgument& operator<< ( QDBusArgument argument,
const ObjectPathProperties item 
)

Definition at line 59 of file qofonoservice_linux.cpp.

60 {
61  argument.beginStructure();
62  argument << item.path << item.properties;
63  argument.endStructure();
64  return argument;
65 }
void endStructure()
Closes a D-Bus structure opened with beginStructure().
void beginStructure()
Opens a new D-Bus structure suitable for appending new arguments.

◆ operator>>()

const QDBusArgument& operator>> ( const QDBusArgument argument,
ObjectPathProperties item 
)

Definition at line 67 of file qofonoservice_linux.cpp.

68 {
69  argument.beginStructure();
70  argument >> item.path >> item.properties;
71  argument.endStructure();
72  return argument;
73 }
void endStructure()
Closes a D-Bus structure opened with beginStructure().
void beginStructure()
Opens a new D-Bus structure suitable for appending new arguments.

Variable Documentation

◆ dbusConnection

QDBusConnection dbusConnection = QDBusConnection::systemBus()
static

Definition at line 76 of file qofonoservice_linux.cpp.