Commit 78d8a562 authored by Waldo Bastian's avatar Waldo Bastian

BIC: remove this useless "fast" option.

svn path=/trunk/kdelibs/; revision=121615
parent 4874aaae
......@@ -809,8 +809,7 @@ QCString DCOPClient::senderId() const
bool DCOPClient::send(const QCString &remApp, const QCString &remObjId,
const QCString &remFun, const QByteArray &data,
bool)
const QCString &remFun, const QByteArray &data)
{
DCOPClient *localClient = findLocalClient( remApp );
......@@ -857,8 +856,7 @@ bool DCOPClient::send(const QCString &remApp, const QCString &remObjId,
}
bool DCOPClient::send(const QCString &remApp, const QCString &remObjId,
const QCString &remFun, const QString &data,
bool)
const QCString &remFun, const QString &data)
{
QByteArray ba;
QDataStream ds(ba, IO_WriteOnly);
......@@ -869,7 +867,7 @@ bool DCOPClient::send(const QCString &remApp, const QCString &remObjId,
bool DCOPClient::findObject(const QCString &remApp, const QCString &remObj,
const QCString &remFun, const QByteArray &data,
QCString &foundApp, QCString &foundObj,
bool useEventLoop, bool fast)
bool useEventLoop)
{
QCStringList appList;
QCString app = remApp;
......@@ -906,7 +904,7 @@ bool DCOPClient::findObject(const QCString &remApp, const QCString &remObj,
QCString replyType;
QByteArray replyData;
if (callInternal((*it), remObj, remFun, data,
replyType, replyData, useEventLoop, fast, DCOPFind))
replyType, replyData, useEventLoop, DCOPFind))
{
if (replyType == "DCOPRef")
{
......@@ -1418,7 +1416,7 @@ bool DCOPClient::find(const QCString &app, const QCString &objId,
bool DCOPClient::call(const QCString &remApp, const QCString &remObjId,
const QCString &remFun, const QByteArray &data,
QCString& replyType, QByteArray &replyData,
bool useEventLoop, bool fast)
bool useEventLoop)
{
DCOPClient *localClient = findLocalClient( remApp );
......@@ -1430,13 +1428,13 @@ bool DCOPClient::call(const QCString &remApp, const QCString &remObjId,
}
return callInternal(remApp, remObjId, remFun, data,
replyType, replyData, useEventLoop, fast, DCOPCall);
replyType, replyData, useEventLoop, DCOPCall);
}
bool DCOPClient::callInternal(const QCString &remApp, const QCString &remObjId,
const QCString &remFun, const QByteArray &data,
QCString& replyType, QByteArray &replyData,
bool useEventLoop, bool, int minor_opcode)
bool useEventLoop, int minor_opcode)
{
if ( !isAttached() )
return false;
......
......@@ -190,25 +190,18 @@ class DCOPClient : public QObject
* @param remObj The name of the remote object.
* @param remFun The remote function in the specified object to call.
* @param data The data to provide to the remote function.
* @param fast (KDE 3.0: remove this)
* Tf set to @p true, a "fast" form of IPC will be used.
* Fast connections are not guaranteed to be implemented, but
* if they are they work only on the local machine, not across
* the network. "fast" is only a hint not an order.
*
* @return Whether or not the server was able to accept the send.
*/
bool send(const QCString &remApp, const QCString &remObj,
const QCString &remFun, const QByteArray &data,
bool fast=false);
const QCString &remFun, const QByteArray &data);
/**
* This function acts exactly the same as the above, but the data
* parameter can be specified as a @ref QString for convenience.
*/
bool send(const QCString &remApp, const QCString &remObj,
const QCString &remFun, const QString &data,
bool fast=false);
const QCString &remFun, const QString &data);
/**
* Performs a synchronous send and receive.
......@@ -229,7 +222,7 @@ class DCOPClient : public QObject
bool call(const QCString &remApp, const QCString &remObj,
const QCString &remFun, const QByteArray &data,
QCString& replyType, QByteArray &replyData,
bool useEventLoop=false, bool fast=false);
bool useEventLoop=false);
/**
* Searches for an object which matches a criteria.
......@@ -242,10 +235,6 @@ class DCOPClient : public QObject
* @param data The data to provide to the remote function.
* @param foundApp The remote application id that matched the criteria.
* @param foundObj The remote object that matched the criteria.
* @param fast Tf set to true, a "fast" form of IPC will be used.
* Fast connections are not guaranteed to be implemented, but
* if they are they work only on the local machine, not across
* the network. "fast" is only a hint not an order.
*
* findObject calls @p remFun in the applications and objects identified
* by @p remApp and @p remObj until @p remFun returns true. The name of
......@@ -270,7 +259,7 @@ class DCOPClient : public QObject
bool findObject(const QCString &remApp, const QCString &remObj,
const QCString &remFun, const QByteArray &data,
QCString &foundApp, QCString &foundObj,
bool useEventLoop=false, bool fast=false);
bool useEventLoop=false);
/**
......@@ -602,7 +591,7 @@ private:
bool callInternal(const QCString &remApp, const QCString &remObj,
const QCString &remFun, const QByteArray &data,
QCString& replyType, QByteArray &replyData,
bool useEventLoop, bool fast, int minor_opcode);
bool useEventLoop, int minor_opcode);
};
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment