23#ifndef QT_BOOTSTRAPPED
29#ifndef DBUS_TYPE_UNIX_FD
30# define DBUS_TYPE_UNIX_FD int('h')
31# define DBUS_TYPE_UNIX_FD_AS_STRING "h"
55 if (!initialized.loadRelaxed()) {
65#ifndef QDBUS_NO_SPECIALTYPES
67 qDBusRegisterMetaType<QDate>();
68 qDBusRegisterMetaType<QTime>();
69 qDBusRegisterMetaType<QDateTime>();
70 qDBusRegisterMetaType<QRect>();
71 qDBusRegisterMetaType<QRectF>();
72 qDBusRegisterMetaType<QSize>();
73 qDBusRegisterMetaType<QSizeF>();
74 qDBusRegisterMetaType<QPoint>();
75 qDBusRegisterMetaType<QPointF>();
76 qDBusRegisterMetaType<QLine>();
77 qDBusRegisterMetaType<QLineF>();
78 qDBusRegisterMetaType<QVariantList>();
79 qDBusRegisterMetaType<QVariantMap>();
80 qDBusRegisterMetaType<QVariantHash>();
81 qDBusRegisterMetaType<QDBusObjectPath>();
83 qDBusRegisterMetaType<QList<bool> >();
84 qDBusRegisterMetaType<QList<short> >();
85 qDBusRegisterMetaType<QList<ushort> >();
86 qDBusRegisterMetaType<QList<int> >();
87 qDBusRegisterMetaType<QList<uint> >();
88 qDBusRegisterMetaType<QList<qlonglong> >();
89 qDBusRegisterMetaType<QList<qulonglong> >();
90 qDBusRegisterMetaType<QList<double> >();
91 qDBusRegisterMetaType<QList<QDBusObjectPath> >();
92 qDBusRegisterMetaType<QList<QDBusSignature> >();
93 qDBusRegisterMetaType<QList<QDBusUnixFileDescriptor> >();
96 initialized.storeRelaxed(
true);
180 DemarshallFunction df)
182 int id = metaType.id();
183 auto *ct = customTypes();
184 if (
id < 0 || !mf || !df || !ct)
190 info.demarshall = df;
201 int id = metaType.
id();
207 auto *ct = customTypes();
213 if (!
info.marshall) {
232 int id = metaType.
id();
238 auto *ct = customTypes();
244 if (!
info.demarshall) {
248 df =
info.demarshall;
250#ifndef QT_BOOTSTRAPPED
279 switch (signature[0])
324 switch (signature[1]) {
329 return QMetaType(QMetaType::QStringList);
332 return QMetaType(QMetaType::QVariantList);
335 return QMetaType::fromType<QList<QDBusObjectPath> >();
338 return QMetaType::fromType<QList<QDBusSignature> >();
357 auto *ct = customTypes();
360 info.signature = signature;
380 case QMetaType::UChar:
383 case QMetaType::Bool:
386 case QMetaType::Short:
389 case QMetaType::UShort:
395 case QMetaType::UInt:
398 case QMetaType::LongLong:
401 case QMetaType::ULongLong:
404 case QMetaType::Double:
407 case QMetaType::QString:
410 case QMetaType::QStringList:
414 case QMetaType::QByteArray:
430 auto *ct = customTypes();
439 if (!
info.signature.isNull())
440 return info.signature;
456 info->signature = signature;
458 return info->signature;
static QByteArray createSignature(int id)
QDBusMetaType::DemarshallFunction demarshall
QDBusMetaType::MarshallFunction marshall
const_iterator cend() const noexcept
const_iterator constFind(const T &value) const
#define DBUS_TYPE_UINT64_AS_STRING
#define DBUS_TYPE_UNIX_FD_AS_STRING
#define DBUS_TYPE_BOOLEAN_AS_STRING
#define DBUS_TYPE_INT16_AS_STRING
#define DBUS_TYPE_SIGNATURE
#define DBUS_TYPE_BYTE_AS_STRING
#define DBUS_TYPE_OBJECT_PATH
#define DBUS_TYPE_INT64_AS_STRING
#define DBUS_TYPE_DOUBLE_AS_STRING
#define DBUS_TYPE_VARIANT
#define DBUS_TYPE_UNIX_FD
#define DBUS_TYPE_INT32_AS_STRING
#define DBUS_TYPE_BOOLEAN
#define DBUS_TYPE_SIGNATURE_AS_STRING
#define DBUS_TYPE_OBJECT_PATH_AS_STRING
#define DBUS_TYPE_ARRAY_AS_STRING
#define DBUS_TYPE_STRING_AS_STRING
#define DBUS_TYPE_VARIANT_AS_STRING
#define DBUS_TYPE_UINT32_AS_STRING
#define DBUS_TYPE_UINT16_AS_STRING
QSet< QString >::iterator it
Combined button and popup list for selecting options.
static jboolean copy(JNIEnv *, jobject)
#define Q_BASIC_ATOMIC_INITIALIZER(a)
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage void
DBusConnection const char DBusError * error
#define Q_GLOBAL_STATIC(TYPE, NAME,...)
GLuint GLsizei const GLchar * message
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
QFileInfo info(fileName)
[8]