dcop
DCOPStub Class Reference
Abstract base class for dcop stubs as created by the dcopidl2cpp compiler. More...
#include <dcopstub.h>
Public Types
Public Member Functions
Protected Types
Protected Member Functions
Detailed Description
Abstract base class for dcop stubs as created by the dcopidl2cpp compiler.Definition at line 41 of file dcopstub.h.
Member Enumeration Documentation
[protected]
For internal use only.
Never use. Used only for default ctors of inherited stubs, because of the way ctors of virtual base classes work. Otherwise dcopidl2cpp would have to call ctors of all, even indirect, bases.
- Since:
- 3.1
- Enumerator:
-
never_use
Definition at line 127 of file dcopstub.h.
Constructor & Destructor Documentation
Creates a DCOPStub for application app and object obj.
- Parameters:
-
app the application idobj the object id
Definition at line 36 of file dcopstub.cpp.
Creates a DCOPStub for application app and object obj that operates on the DCOPClient client.
- Parameters:
-
client the DCOPClientapp the application idobj the object id
Definition at line 41 of file dcopstub.cpp.
[explicit]
Creates a DCOPStub for application ref.app() and object ref.obj().
- Parameters:
-
ref the DCOP reference
Definition at line 50 of file dcopstub.cpp.
[virtual]
Definition at line 55 of file dcopstub.cpp.
[inline, protected]
Member Function Documentation
[protected, virtual]
Invoked whenever a call fails.
The default implementation sets the status to CallFailed.
Definition at line 82 of file dcopstub.cpp.
[protected]
The dcopClient this stub operates on.
Either the specific one specified in the constructor or DCOPClient::mainClient.
- Returns:
- the stub's DCOPClient
Definition at line 60 of file dcopstub.cpp.
Return whether no error occurred,.
- Returns:
- true if the last call was successful, false otherwise
- See also:
- status();
Definition at line 77 of file dcopstub.cpp.
[protected]
Sets the status to status.
Possible values are 'CallSucceeded' and 'CallFailed'
- Parameters:
-
_status the new status
- See also:
- status()
Definition at line 72 of file dcopstub.cpp.
Return the status of the last call, either CallSucceeded or CallFailed.
- Returns:
- the status of the last call
- See also:
- ok();
Definition at line 67 of file dcopstub.cpp.
[protected, virtual]
Definition at line 97 of file dcopstub.cpp.
The documentation for this class was generated from the following files: