4
#include <QtCore/QMetaType>
7
#include <QtCore/QString>
8
#include <QtDBus/QtDBus>
10
typedef QMap<QString, QString> MapStringString;
11
typedef QMap<QString, int> MapStringInt;
12
typedef QVector<int> VectorInt;
13
typedef QVector< QMap<QString, QString> > VectorMapStringString;
15
Q_DECLARE_METATYPE(MapStringString)
16
Q_DECLARE_METATYPE(MapStringInt)
17
Q_DECLARE_METATYPE(VectorMapStringString)
18
Q_DECLARE_METATYPE(VectorInt);
21
inline void registerCommTypes() {
22
qDBusRegisterMetaType<MapStringString>();
23
qDBusRegisterMetaType<MapStringInt>();
24
qDBusRegisterMetaType<VectorMapStringString>();
25
qDBusRegisterMetaType<VectorInt>();
b'\\ No newline at end of file'