class DCOPObjectProxy

You must use a proxy if you want to dispatch method calls for object IDs which dont have (yet) a corresponding DCOPObject. More...

Definition#include <dcopobject.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

You must use a proxy if you want to dispatch method calls for object IDs which dont have (yet) a corresponding DCOPObject. This is somewhat like virtual object references in CORBA.

See also: DCOPObject, DCOPClient

 DCOPObjectProxy ()

DCOPObjectProxy

Creates a new proxy.

 DCOPObjectProxy ( DCOPClient*)

DCOPObjectProxy

Obsolete, do not use. DCOP clients know about object proxies automatically.

 ~DCOPObjectProxy ()

~DCOPObjectProxy

[virtual]

Destroy the proxy.

bool  process ( const QCString& obj, const QCString& fun, const QByteArray& data, QCString& replyType, QByteArray &replyData )

process

[virtual]

Reimplement this method to dispatch method calls.

This method is called of all proxies if the DCOPClient knows no object with the id obj. If the first proxy returns true, the DCOPClient will no longer call other proxies.

The object id obj may be empty for app-wide function calls no associated with any object.

Parameters:
funis the normalized function signature. Such a signature usually looks like foobar(QString,int). The return type, qualifiers like "const" etc. are not part of the signature.
datathe received data
replyTypewrite the reply type in this string
replyDatawrite the reply data in this array

Returns: true if successful, false otherwise. The default implementation returns always false.

void  virtual_hook ( int id, void* data )

virtual_hook

[protected virtual]