summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusconnection_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-12-29 19:47:54 -0200
committerThiago Macieira <thiago.macieira@intel.com>2015-09-15 02:08:43 +0000
commit5d41a4aa5a3324a2326142300da3b853bb14b070 (patch)
tree22a1ad6757498b7875f7329bca4c1cc030216f94 /src/dbus/qdbusconnection_p.h
parentdf7064c1514c66610c56487e0444036539aa8645 (diff)
And move the sending of other types of D-Bus messages to the thread
With this, we now know that all messages sent are sent from the same thread. This simplifies greatly the handling of the socket. Task-number: QTBUG-43585 Change-Id: Ic5d393bfd36e48a193fcffff13b73758087344ed Reviewed-by: Albert Astals Cid <aacid@kde.org> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/dbus/qdbusconnection_p.h')
-rw-r--r--src/dbus/qdbusconnection_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbusconnection_p.h b/src/dbus/qdbusconnection_p.h
index 3becc7cbc3..f653c427e7 100644
--- a/src/dbus/qdbusconnection_p.h
+++ b/src/dbus/qdbusconnection_p.h
@@ -272,7 +272,7 @@ private slots:
signals:
void dispatchStatusChanged();
- void messageNeedsSending(QDBusPendingCallPrivate *pcall, void *msg, int timeout);
+ void messageNeedsSending(QDBusPendingCallPrivate *pcall, void *msg, int timeout = -1);
void serviceOwnerChanged(const QString &name, const QString &oldOwner, const QString &newOwner);
void callWithCallbackFailed(const QDBusError &error, const QDBusMessage &message);
void newServerConnection(QDBusConnectionPrivate *newConnection);