26#include "dcopclient.h"
32 DCOPStubPrivate():dcopClient(nullptr){}
33 DCOPClient* dcopClient;
37 : m_app(
app ), m_obj(
obj ), m_status( CallSucceeded ),d(nullptr)
42 : m_app(
app ), m_obj(
obj ), m_status( CallSucceeded ),d(nullptr)
45 d =
new DCOPStubPrivate;
46 d->dcopClient = client;
51 : m_app( ref.
app() ), m_obj( ref.
obj() ), m_status( CallSucceeded ),d(nullptr)
79 return m_status != CallFailed;
97void DCOPStub::virtual_hook(
int,
void* )
Inter-process communication and remote procedure calls for KDE applications.
static DCOPClient * mainClient()
Returns the application's main dcop client.
A DCOPRef(erence) encapsulates a remote DCOP object as a triple <app,obj,type> where type is optional...
void setStatus(Status _status)
Sets the status to status.
Status status() const
Return the status of the last call, either CallSucceeded or CallFailed.
virtual void callFailed()
Invoked whenever a call fails.
DCOPStub(const TQCString &app, const TQCString &obj)
Creates a DCOPStub for application app and object obj.
TQCString app() const
Return the application id.
DCOPClient * dcopClient()
The dcopClient this stub operates on.
TQCString obj() const
Return the object id.
bool ok() const
Return whether no error occurred,.