Source Code (Use browser search to find items of interest.)
Class Index
kdelibs'DCOPObjectProxy (./kdelibs/dcop/dcopobject.h:170)
class DCOPObjectProxy
{
public:
/**
* Create a new proxy and register it at the server.
*/
DCOPObjectProxy( DCOPClient* client );
/**
* Destroy the proxy.
*/
virtual ~DCOPObjectProxy();
/**
* Reimplement this method to disptatch method calls.
*
* This method is called of all proxies if the @ref DCOPClient
* knows no object with the id @p obj. If the first proxy returns
* @p true, the @ref DCOPClient will no longer call other proxies.
*
* The object id @p obj may be empty for app-wide function calls no
* associated with any object.
*/
virtual bool process( const QCString& obj, const QCString& fun, const QByteArray& data,
QCString& replyType, QByteArray &replyData );
private:
DCOPClient* parent;
class DCOPObjectPrivate;
DCOPObjectPrivate *d;
};
kdelibs'DCOPObjectProxy::DCOPObjectProxy() (./kdelibs/dcop/dcopobject.cpp:134)
DCOPObjectProxy::DCOPObjectProxy( DCOPClient* client )
{
parent = client;
if ( !parent ) {
qWarning("DCOPObjectProxy: no client specified" );
return;
}
parent->installObjectProxy( this );
}
kdelibs'DCOPObjectProxy::~DCOPObjectProxy() (./kdelibs/dcop/dcopobject.cpp:144)
DCOPObjectProxy:: ~DCOPObjectProxy()
{
if ( parent )
parent->removeObjectProxy( this );
}
kdelibs'DCOPObjectProxy::process() (./kdelibs/dcop/dcopobject.cpp:150)
bool DCOPObjectProxy::process( const QCString& /*obj*/,
const QCString& /*fun*/,
const QByteArray& /*data*/,
QCString& /*replyType*/,
QByteArray &/*replyData*/ )
{
return FALSE;
}