class DCOPRef

If you want to return a reference to another DCOP object in a DCOP interface, then you have to return a DCOPRef object. More...

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

Public Methods


Detailed Description

If you want to return a reference to another DCOP object in a DCOP interface, then you have to return a DCOPRef object.

DCOPRef ()

Creates a null reference.

DCOPRef ( const DCOPRef& ref )

Copy constructor.

DCOPRef ( const QCString& app, const QCString& obj )

Creates a reference to a certain object in a certain application.

Parameters:
appis the name of an application as registered be the dcopserver.

bool isNull ()
[const]

Tests wether it is a null reference.

QCString app ()
[const]

Name of the application in which the object resides.

QCString object ()
[const]

Object ID of the referenced object.

void setRef ( const QCString& app, const QCString& obj )

Change the referenced object.

void clear ()

Make it a null reference.