<HTML> <HEAD> <TITLE>class DCOPStub</TITLE> <META NAME="Generator" CONTENT="KDOC "> </HEAD> <BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff"> <TABLE WIDTH="100%" BORDER="0"> <TR> <TD> <TABLE BORDER="0"> <TR><TD valign="top" align="left" cellspacing="10"> <h1>class DCOPStub</h1> </TD> <TD valign="top" align="right" colspan="1"> Abstract base class for dcop stubs as created by the dcopidl2cpp compiler <small><A HREF="#longdesc">More...</A></small></TD></TR> </TABLE> <HR> <TABLE BORDER="0"> <TR><TH>Definition</TH><TD><code>#include <<A HREF="dcopstub_h.html">dcopstub.h</A>></code></TD></TR> <TR><TH><A HREF="full-list-DCOPStub.html">List of all Methods</A></TH></TR> </TABLE> </TD> <TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR> <TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR> <TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR> <TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR> <TR><TD><small><A HREF="index.html">Index</A></small></TD></TR> </TABLE></TD></TR></TABLE> <h4>Public Types</h4><ul><LI>enum <A HREF="#ref6">Status</A> { CallSucceeded, CallFailed } </LI> </ul><h4>Public Methods</h4><ul><LI> <b><A HREF="#ref1">DCOPStub</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& app, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& obj ) </LI> <LI> <b><A HREF="#ref2">DCOPStub</A></b> ( <A HREF="DCOPClient.html">DCOPClient</A>* client, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& app, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& obj ) </LI> <LI>virtual <b><A HREF="#ref3">~DCOPStub</A></b> () </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> <b><A HREF="#ref4">app</A></b> () const </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> <b><A HREF="#ref5">obj</A></b> () const </LI> <LI>Status <b><A HREF="#ref7">status</A></b> () const </LI> <LI>bool <b><A HREF="#ref8">ok</A></b> () const </LI> </ul><h4>Protected Methods</h4><ul><LI>void <b><A HREF="#ref9">setStatus</A></b> ( Status _status ) </LI> <LI>virtual void <b><A HREF="#ref10">callFailed</A></b> () </LI> <LI><A HREF="DCOPClient.html">DCOPClient</A>* <b><A HREF="#ref11">dcopClient</A></b> () </LI> </ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> Abstract base class for dcop stubs as created by the dcopidl2cpp compiler </p> <p></p> <A NAME="DCOPStub"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>DCOPStub</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& app, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& obj ) <br></td><td align="right"><h3><strong>DCOPStub</strong></h3></td></tr></table><p></p><p> Creates a DCOPStub for application <code>app</code> and object <code>obj</code> </p> <A NAME="DCOPStub"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>DCOPStub</strong> ( <A HREF="DCOPClient.html">DCOPClient</A>* client, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& app, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>& obj ) <br></td><td align="right"><h3><strong>DCOPStub</strong></h3></td></tr></table><p></p><p> Creates a DCOPStub for application <code>app</code> and object <code>obj</code> that operates on the DCOPClient <code>client</code> </p> <A NAME="~DCOPStub"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~DCOPStub</strong> () <br></td><td align="right"><h3><strong>~DCOPStub</strong></h3></td></tr></table><p> <small>[virtual]</small></p><A NAME="app"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> <strong>app</strong> () <br></td><td align="right"><h3><strong>app</strong></h3></td></tr></table><p> <small>[const]</small></p><p> Return the application id. </p> <A NAME="obj"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> <strong>obj</strong> () <br></td><td align="right"><h3><strong>obj</strong></h3></td></tr></table><p> <small>[const]</small></p><p> Return the object id. </p> <A NAME="Status"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>Status</strong> { CallSucceeded, CallFailed } </td><td align="right"><h3><strong>Status</strong></h3></td></tr></table><p></p><A NAME="status"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>Status <strong>status</strong> () <br></td><td align="right"><h3><strong>status</strong></h3></td></tr></table><p> <small>[const]</small></p><p> Return the status of the last call, either <code>CallSucceeded</code> or <code>CallFailed</code> </p> <p>See <A HREF="DCOPStub.html#ok">ok</A>(); </p> <A NAME="ok"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>ok</strong> () <br></td><td align="right"><h3><strong>ok</strong></h3></td></tr></table><p> <small>[const]</small></p><p> Return whether no error occured </p> <p> See <A HREF="DCOPStub.html#status">status</A>(); </p> <A NAME="setStatus"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setStatus</strong> ( Status _status ) <br></td><td align="right"><h3><strong>setStatus</strong></h3></td></tr></table><p> <small>[protected]</small></p><p> Sets the status to status. Possible values are 'CallSucceeded' and 'CallFailed' </p> <A NAME="callFailed"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>callFailed</strong> () <br></td><td align="right"><h3><strong>callFailed</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><p> Invoked whenever a call fails. The default implementation sets the status to CallFailed. </p> <A NAME="dcopClient"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="DCOPClient.html">DCOPClient</A>* <strong>dcopClient</strong> () <br></td><td align="right"><h3><strong>dcopClient</strong></h3></td></tr></table><p> <small>[protected]</small></p><p> The dcopClient this stub operates on. Either the specific one specified in the constructor or DCOPClient::mainClient. </p> <HR> <table> <tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:08:51 2002, using kdoc 2.0a53.</small></td></tr> </table> </BODY> </HTML>