Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qdbusmetatype_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QDBUSMETATYPE_P_H
5#define QDBUSMETATYPE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of the QLibrary class. This header file may change from
13// version to version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtDBus/private/qtdbusglobal_p.h>
19#include <qdbusmetatype.h>
20
21#include <qdbusmessage.h>
22#include <qdbusargument.h>
23#include <qdbusextratypes.h>
24#include <qdbuserror.h>
26
27#ifndef QT_NO_DBUS
28
30
31namespace QDBusMetaTypeId {
32QMetaType message(); // QDBusMessage
33QMetaType argument(); // QDBusArgument
34QMetaType variant(); // QDBusVariant
35QMetaType objectpath(); // QDBusObjectPath
36QMetaType signature(); // QDBusSignature
37QMetaType error(); // QDBusError
38QMetaType unixfd(); // QDBusUnixFileDescriptor
39
40Q_DBUS_EXPORT void init();
41}; // namespace QDBusMetaTypeId
42
44{ return QMetaType::fromType<QDBusMessage>(); }
45
47{ return QMetaType::fromType<QDBusArgument>(); }
48
50{ return QMetaType::fromType<QDBusVariant>(); }
51
53{ return QMetaType::fromType<QDBusObjectPath>(); }
54
56{ return QMetaType::fromType<QDBusSignature>(); }
57
59{ return QMetaType::fromType<QDBusError>(); }
60
62{ return QMetaType::fromType<QDBusUnixFileDescriptor>(); }
63
65
66#endif // QT_NO_DBUS
67#endif
\inmodule QtCore
Definition qmetatype.h:341
Q_DBUS_EXPORT void init()
QMetaType unixfd()
QMetaType variant()
QMetaType error()
QMetaType argument()
QMetaType objectpath()
QMetaType message()
QMetaType signature()
Combined button and popup list for selecting options.