DCOPStub Class Reference
Abstract base class for dcop stubs as created by the dcopidl2cpp compiler. More...
#include <dcopstub.h>
Collaboration diagram for DCOPStub:

| Public Types | |
| enum | Status { CallSucceeded, CallFailed } | 
| Public Member Functions | |
| DCOPStub (const QCString &app, const QCString &obj) | |
| DCOPStub (DCOPClient *client, const QCString &app, const QCString &obj) | |
| DCOPStub (const DCOPRef &ref) | |
| QCString | app () const | 
| QCString | obj () const | 
| Status | status () const | 
| bool | ok () const | 
| Protected Types | |
| enum | never_use_t { never_use } | 
| Protected Member Functions | |
| void | setStatus (Status _status) | 
| virtual void | callFailed () | 
| DCOPClient * | dcopClient () | 
| DCOPStub (never_use_t) | |
| virtual void | virtual_hook (int id, void *data) | 
Detailed Description
Abstract base class for dcop stubs as created by the dcopidl2cpp compiler.
Definition at line 40 of file dcopstub.h.
Constructor & Destructor Documentation
| 
 | ||||||||||||
| 
Creates a DCOPStub for application  
 
 Definition at line 36 of file dcopstub.cpp. | 
| 
 | ||||||||||||||||
| 
Creates a DCOPStub for application  
 
 Definition at line 41 of file dcopstub.cpp. | 
| 
 | 
| Creates a DCOPStub for application ref.app() and object ref.obj(). 
 
 Definition at line 50 of file dcopstub.cpp. | 
Member Function Documentation
| 
 | 
| Return the application id. 
 
 Definition at line 87 of file dcopstub.cpp. | 
| 
 | 
| Return the object id. 
 
 Definition at line 92 of file dcopstub.cpp. | 
| 
 | 
| 
Return the status of the last call, either  
 
 
 Definition at line 67 of file dcopstub.cpp. | 
| 
 | 
| Return whether no error occurred,. 
 
 
 Definition at line 77 of file dcopstub.cpp. | 
| 
 | 
| Sets the status to status. Possible values are 'CallSucceeded' and 'CallFailed' 
 
 Definition at line 72 of file dcopstub.cpp. Referenced by callFailed(). | 
| 
 | 
| Invoked whenever a call fails. The default implementation sets the status to CallFailed. Definition at line 82 of file dcopstub.cpp. References setStatus(). | 
| 
 | 
| The dcopClient this stub operates on. Either the specific one specified in the constructor or DCOPClient::mainClient. 
 Definition at line 60 of file dcopstub.cpp. References DCOPClient::mainClient(). | 
The documentation for this class was generated from the following files:

