diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-12-29 18:06:42 -0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-09-15 02:08:29 +0000 |
commit | 1996bd4a01748ae384242eb47d4ff2c679c4c5d0 (patch) | |
tree | eed28a9b350dd0386212c0041d62a93d66536e6b /src/dbus/qdbusserver.h | |
parent | 2bcc913a7f302cc404efcba951565bdeab9e1de4 (diff) |
Use QDBusConnectionPrivate* when QDBusServer receives a new connection
This is because the socket activity will move to a different thread;
QDBusConnectionPrivate* can be queued, QDBusConnection can't easily.
Change-Id: I82722016018b7fcfb246cda6043469fadbfd987d
Reviewed-by: Albert Astals Cid <aacid@kde.org>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/dbus/qdbusserver.h')
-rw-r--r-- | src/dbus/qdbusserver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dbus/qdbusserver.h b/src/dbus/qdbusserver.h index db21f268b0..2c66472a4d 100644 --- a/src/dbus/qdbusserver.h +++ b/src/dbus/qdbusserver.h @@ -1,6 +1,7 @@ /**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. +** Copyright (C) 2015 Intel Corporation. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtDBus module of the Qt Toolkit. @@ -66,6 +67,7 @@ Q_SIGNALS: private: Q_DISABLE_COPY(QDBusServer) + Q_PRIVATE_SLOT(d, void _q_newConnection(QDBusConnectionPrivate*)) QDBusConnectionPrivate *d; }; |