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 | // |
5 | // W A R N I N G |
6 | // ------------- |
7 | // |
8 | // This file is not part of the public API. This header file may |
9 | // change from version to version without notice, or even be |
10 | // removed. |
11 | // |
12 | // We mean it. |
13 | // |
14 | // |
15 | |
16 | #ifndef QDBUSCONTEXT_P_H |
17 | #define QDBUSCONTEXT_P_H |
18 | |
19 | #include <QtDBus/private/qtdbusglobal_p.h> |
20 | |
21 | #ifndef QT_NO_DBUS |
22 | |
23 | QT_BEGIN_NAMESPACE |
24 | |
25 | class QDBusMessage; |
26 | class QDBusConnection; |
27 | |
28 | class QDBusContext; |
29 | class QDBusContextPrivate |
30 | { |
31 | public: |
32 | inline QDBusContextPrivate(const QDBusConnection &conn, const QDBusMessage &msg) |
33 | : connection(conn), message(msg) {} |
34 | |
35 | QDBusConnection connection; |
36 | const QDBusMessage &message; |
37 | |
38 | static QDBusContextPrivate *set(QObject *obj, QDBusContextPrivate *newContext); |
39 | }; |
40 | |
41 | QT_END_NAMESPACE |
42 | |
43 | #endif // QT_NO_DBUS |
44 | #endif |
45 | |
46 |