From 9ea35022d237e93f456d8649725ce1c52c2b61e9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 23 Nov 2014 15:17:26 -0600 Subject: Fix compositing manager detection Add advanced option to allow a DCOP call to bypass the local call-->send translation shortcut --- dcop/dcopclient.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'dcop/dcopclient.h') diff --git a/dcop/dcopclient.h b/dcop/dcopclient.h index 8421c7b80..4cb4b2f6e 100644 --- a/dcop/dcopclient.h +++ b/dcop/dcopclient.h @@ -292,12 +292,25 @@ class DCOP_EXPORT DCOPClient : public TQObject * @param useEventLoop if true the event loop will be started when * the call blocks too long * @param timeout timeout for the call in miliseconds, or -1 for no timeout + * @param forceRemote if set do not allow calls within the current application + * to bypass the remote call mechanism * @return true if successful, false otherwise * * @since 3.2 * * @see send() */ + + bool call(const TQCString &remApp, const TQCString &remObj, + const TQCString &remFun, const TQByteArray &data, + TQCString& replyType, TQByteArray &replyData, + bool useEventLoop/*=false*/, int timeout/*=-1*/, + bool forceRemote/*=false*/); + + /** + * @deprecated + */ + // KDE4 merge with above bool call(const TQCString &remApp, const TQCString &remObj, const TQCString &remFun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData, -- cgit v1.2.1