Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qdbuscontext_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// Qt-Security score:significant reason:default
4
5//
6// W A R N I N G
7// -------------
8//
9// This file is not part of the public API. This header file may
10// change from version to version without notice, or even be
11// removed.
12//
13// We mean it.
14//
15//
16
17#ifndef QDBUSCONTEXT_P_H
18#define QDBUSCONTEXT_P_H
19
20#include <QtDBus/private/qtdbusglobal_p.h>
21
22#ifndef QT_NO_DBUS
23
25
26class QDBusMessage;
27class QDBusConnection;
28
29class QDBusContext;
31{
32public:
33 inline QDBusContextPrivate(const QDBusConnection &conn, const QDBusMessage &msg)
34 : connection(conn), message(msg) {}
35
36 QDBusConnection connection;
37 const QDBusMessage &message;
38
39 static QDBusContextPrivate *set(QObject *obj, QDBusContextPrivate *newContext);
40};
41
42QT_END_NAMESPACE
43
44#endif // QT_NO_DBUS
45#endif
const QDBusMessage & message
static QDBusContextPrivate * set(QObject *obj, QDBusContextPrivate *newContext)
QDBusConnection connection
QDBusContextPrivate(const QDBusConnection &conn, const QDBusMessage &msg)
The QDBusContext class allows slots to determine the D-Bus context of the calls.