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
qdbusthreaddebug_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// Copyright (C) 2016 Intel Corporation.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4// Qt-Security score:significant reason:default
5#ifndef QDBUSTHREADDEBUG_P_H
6#define QDBUSTHREADDEBUG_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtDBus/private/qtdbusglobal_p.h>
20
21#ifndef QT_NO_DBUS
22
24
25#if !defined(QDBUS_THREAD_DEBUG) && defined(QT_BUILD_INTERNAL)
26# define QDBUS_THREAD_DEBUG 1
27#endif
28
29#if QDBUS_THREAD_DEBUG
30typedef void (*qdbusThreadDebugFunc)(int, int, QDBusConnectionPrivate *);
31Q_DBUS_EXPORT void qdbusDefaultThreadDebug(int, int, QDBusConnectionPrivate *);
32extern Q_DBUS_EXPORT qdbusThreadDebugFunc qdbusThreadDebug;
33#endif
34
64
66{
84
85#if QDBUS_THREAD_DEBUG
86 static inline void reportThreadAction(int action, int condition, QDBusConnectionPrivate *ptr)
88#else
89 static inline void reportThreadAction(int, int, QDBusConnectionPrivate *) { }
90#endif
91};
92
112
132
133QT_END_NAMESPACE
134
135#endif // QT_NO_DBUS
136#endif
static QDBusConnectionManager * instance()
QDBusConnectionPrivate * busConnection(QDBusConnection::BusType type)
void removeConnections(const QStringList &names)
QPointer< QObject > receiver
QDBusPendingCallWatcherHelper * watcherHelper
QWaitCondition waitForFinishedCondition
bool setReplyCallback(QObject *target, const char *member)
QDBusConnectionPrivate *const connection
QList< QMetaType > metaTypes
void setMetaTypes(int count, const QMetaType *types)
QDBusPendingCallPrivate(const QDBusMessage &sent, QDBusConnectionPrivate *connection)
const QDBusMessage sentMessage
void error(const QDBusError &error, const QDBusMessage &msg)
void emitSignals(const QDBusMessage &replyMessage, const QDBusMessage &sentMessage)
void reply(const QDBusMessage &msg)
\inmodule QtCore
Definition qshareddata.h:19
@ DisconnectRelayAction
@ ObjectDestroyedAction
@ FindMetaObject2Action
@ ObjectRegisteredAtAction
@ UpdateSignalHookOwnerAction
@ RegisterServiceAction
@ ConnectAction
@ HandleObjectCallPostEventAction
@ UnregisterObjectAction
@ RelaySignalAction
@ HandleSignalAction
@ DoDispatchAction
@ RegisterObjectAction
@ PendingCallBlockAction
@ UnregisterServiceAction
@ ConnectRelayAction
@ DisconnectAction
@ MessageResultReceivedAction
@ SetDispatchEnabledAction
@ ActivateSignalAction
@ HandleObjectCallAction
@ HandleObjectCallSemaphoreAction
@ HuntAndEmitAction
@ FindMetaObject1Action
@ CloseConnectionAction
@ SendMessageAction
static void reportThreadAction(int, int, QDBusConnectionPrivate *)
QDBusConnectionPrivate * self
QDBusConnectionPrivate * self