#include "QtCore/qmetatype.h"
#include <QtDBus/qdbusargument.h>
Go to the source code of this file.
◆ qDBusDemarshallHelper()
◆ qDBusMarshallHelper()
◆ qDBusRegisterMetaType()
template<typename T >
int qDBusRegisterMetaType |
( |
| ) |
|
|
related |
Definition at line 79 of file qdbusmetatype.h.
85 void (*mf)(
QDBusArgument &,
const T *) = qDBusMarshallHelper<T>;
86 void (*df)(
const QDBusArgument &, T *) = qDBusDemarshallHelper<T>;
88 int id = qRegisterMetaType<T>();
90 reinterpret_cast<QDBusMetaType::MarshallFunction>(mf),
91 reinterpret_cast<QDBusMetaType::DemarshallFunction>(df));
The QDBusArgument class is used to marshall and demarshall D-Bus arguments.