Qt 4.8
Classes | Typedefs | Functions
qnetworksession_impl.h File Reference
#include <QtNetwork/private/qnetworksession_p.h>
#include <QtNetwork/qnetworkconfigmanager.h>
#include <QtCore/qdatetime.h>
#include <QtCore/qtimer.h>
#include <QtCore/quuid.h>
#include <QtDBus/qdbusconnection.h>
#include <QtDBus/qdbusinterface.h>
#include <QtDBus/qdbusmessage.h>
#include <QtDBus/qdbusmetatype.h>
#include <icd/dbus_api.h>

Go to the source code of this file.

Classes

struct  ICd2DetailsDBusStruct
 
class  QNetworkSessionPrivateImpl
 
struct  QNetworkSessionPrivateImpl::Statistics
 

Typedefs

typedef QList< ICd2DetailsDBusStructICd2DetailsList
 

Functions

QDBusArgumentoperator<< (QDBusArgument &argument, const ICd2DetailsDBusStruct &icd2)
 
const QDBusArgumentoperator>> (const QDBusArgument &argument, ICd2DetailsDBusStruct &icd2)
 
 Q_DECLARE_METATYPE (ICd2DetailsDBusStruct)
 
 Q_DECLARE_METATYPE (ICd2DetailsList)
 

Typedef Documentation

◆ ICd2DetailsList

Definition at line 86 of file qnetworksession_impl.h.

Function Documentation

◆ operator<<()

QDBusArgument& operator<< ( QDBusArgument argument,
const ICd2DetailsDBusStruct icd2 
)

Definition at line 59 of file qnetworksession_impl.cpp.

61 {
62  argument.beginStructure();
63 
64  argument << icd2.serviceType;
65  argument << icd2.serviceAttributes;
66  argument << icd2.setviceId;
67  argument << icd2.networkType;
68  argument << icd2.networkAttributes;
69  argument << icd2.networkId;
70 
71  argument.endStructure();
72 
73  return argument;
74 }
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,
ICd2DetailsDBusStruct icd2 
)

Definition at line 76 of file qnetworksession_impl.cpp.

78 {
79  argument.beginStructure();
80 
81  argument >> icd2.serviceType;
82  argument >> icd2.serviceAttributes;
83  argument >> icd2.setviceId;
84  argument >> icd2.networkType;
85  argument >> icd2.networkAttributes;
86  argument >> icd2.networkId;
87 
88  argument.endStructure();
89 
90  return argument;
91 }
void endStructure()
Closes a D-Bus structure opened with beginStructure().
void beginStructure()
Opens a new D-Bus structure suitable for appending new arguments.

◆ Q_DECLARE_METATYPE() [1/2]

Q_DECLARE_METATYPE ( ICd2DetailsDBusStruct  )

◆ Q_DECLARE_METATYPE() [2/2]

Q_DECLARE_METATYPE ( ICd2DetailsList  )