Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

DCOPStub Class Reference

#include <dcopstub.h>

Inheritance diagram for DCOPStub:

List of all members.

Public Methods

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

Protected Methods

void setStatus (Status _status)
virtual void callFailed ()
DCOPClientdcopClient ()

Detailed Description

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

Definition at line 39 of file dcopstub.h.


Constructor & Destructor Documentation

DCOPStub::DCOPStub const QCString &    app,
const QCString &    obj
 

Creates a DCOPStub for application app and object obj

Parameters:
app  the application id
obj  the object id

DCOPStub::DCOPStub DCOPClient   client,
const QCString &    app,
const QCString &    obj
 

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

Parameters:
client  the DCOPClient
app  the application id
obj  the object id


Member Function Documentation

QCString DCOPStub::app  
 

Return the application id.

Returns:
the application id

virtual void DCOPStub::callFailed   [protected, virtual]
 

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

DCOPClient* DCOPStub::dcopClient   [protected]
 

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

Returns:
the stub's DCOPClient

QCString DCOPStub::obj  
 

Return the object id.

Returns:
the object id

bool DCOPStub::ok  
 

Return whether no error occured,

Returns:
true if the last call was successful, false otherwise
See also:
status();

void DCOPStub::setStatus Status    _status [protected]
 

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

Parameters:
_status  the new status
See also:
status()

Status DCOPStub::status  
 

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

Returns:
the status of the last call
See also:
ok();


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:03 2003 for kdelibs by doxygen1.2.18