# class DCOPStub | Abstract base class for dcop stubs as created by the dcopidl2cpp compiler More...
Definition | `#include <dcopstub.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Types

- enum Status { CallSucceeded, CallFailed }

#### Public Methods

- DCOPStub ( const QCString& app, const QCString& obj )
- DCOPStub ( DCOPClient* client, const QCString& app, const QCString& obj )
- virtual ~DCOPStub ()
- QCString app () const
- QCString obj () const
- Status status () const
- bool ok () const

#### Protected Methods

- void setStatus ( Status _status )
- virtual void callFailed ()
- DCOPClient* dcopClient ()

## Detailed Description

Abstract base class for dcop stubs as created by the dcopidl2cpp compiler

DCOPStub ( const QCString& app, const QCString& obj ) | ### DCOPStub

Creates a DCOPStub for application `app` and object `obj`

DCOPStub ( DCOPClient* client, const QCString& app, const QCString& obj ) | ### DCOPStub

Creates a DCOPStub for application `app` and object `obj` that operates on the DCOPClient `client`

~DCOPStub () | ### ~DCOPStub

[virtual]

QCString app () | ### app

[const]

Return the application id.

QCString obj () | ### obj

[const]

Return the object id.

enum Status { CallSucceeded, CallFailed } | ### Status

Status status () | ### status

[const]

Return the status of the last call, either `CallSucceeded` or `CallFailed`

See ok();

bool ok () | ### ok

[const]

Return whether no error occured

See status();

void setStatus ( Status _status ) | ### setStatus

[protected]

Sets the status to status. Possible values are 'CallSucceeded' and 'CallFailed'

void callFailed () | ### callFailed

[protected virtual]

Invoked whenever a call fails. The default implementation sets the status to CallFailed.

DCOPClient* dcopClient () | ### dcopClient

[protected]

The dcopClient this stub operates on. Either the specific one specified in the constructor or DCOPClient::mainClient.

Generated by: root@sparc.ports.openbsd.org on Wed May 2 09:33:39 2001, using kdoc 2.0a53.