<HTML> <HEAD> <TITLE>class KDCOPPropertyProxy</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 KDCOPPropertyProxy</h1> </TD> <TD valign="top" align="right" colspan="1"> The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a QObject through DCOP. <small><A HREF="#longdesc">More...</A></small></TD></TR> </TABLE> <HR> <TABLE BORDER="0"> <TR><TH>Definition</TH><TD><code>#include <<A HREF="kdcoppropertyproxy_h.html">kdcoppropertyproxy.h</A>></code></TD></TR> <TR><TH><A HREF="full-list-KDCOPPropertyProxy.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 Methods</h4><ul><LI> <b><A HREF="#ref1">KDCOPPropertyProxy</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> *object ) </LI> <LI> <b><A HREF="#ref2">~KDCOPPropertyProxy</A></b> () </LI> <LI>bool <b><A HREF="#ref3">isPropertyRequest</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &fun ) </LI> <LI>bool <b><A HREF="#ref4">processPropertyRequest</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &fun, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qbytearray.html">QByteArray</A> &data, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &replyType, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qbytearray.html">QByteArray</A> &replyData ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qvaluelist.html">QValueList</A><<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>> <b><A HREF="#ref5">functions</A></b> () </LI> </ul><h4>Public Static Methods</h4><ul><LI>static <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qvaluelist.html">QValueList</A><<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>> <b><A HREF="#ref6">functions</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> *object ) </LI> <LI>static bool <b><A HREF="#ref7">isPropertyRequest</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &fun, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> *object ) </LI> <LI>static bool <b><A HREF="#ref8">processPropertyRequest</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &fun, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qbytearray.html">QByteArray</A> &data, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &replyType, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qbytearray.html">QByteArray</A> &replyData, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> *object ) </LI> </ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a QObject through DCOP. </p> <p> The class provides DCOP equivalents for the Qt property methods setProperty() , property() and propertyNames() and also provides automatic set/get methods for the properties of a QObject. That means for example if your object provides a QString property called foo , then KDCOPPropertyProxy translates DCOP calls "setFoo( QString )" and "QString foo()" automatically into the corresponding setProperty/property calls. </p> <A NAME="KDCOPPropertyProxy"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KDCOPPropertyProxy</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> *object ) <br></td><td align="right"><h3><strong>KDCOPPropertyProxy</strong></h3></td></tr></table><p></p><p> Convenience constructor. Use it if you want to use this class as object, in contrary to using the static methods of this class and providing a QObject argument for each call. </p> <A NAME="~KDCOPPropertyProxy"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~KDCOPPropertyProxy</strong> () <br></td><td align="right"><h3><strong>~KDCOPPropertyProxy</strong></h3></td></tr></table><p></p><p> Destructor. </p> <A NAME="isPropertyRequest"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>isPropertyRequest</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &fun ) <br></td><td align="right"><h3><strong>isPropertyRequest</strong></h3></td></tr></table><p></p><p> Convenience method, when using this class as object. See documentation of the constructor and static isPropertyRequest method. </p> <A NAME="processPropertyRequest"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>processPropertyRequest</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &fun, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qbytearray.html">QByteArray</A> &data, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &replyType, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qbytearray.html">QByteArray</A> &replyData ) <br></td><td align="right"><h3><strong>processPropertyRequest</strong></h3></td></tr></table><p></p><p> Convenience method, when using this class as object. See documentation of the constructor and static processPropertyRequest method. </p> <A NAME="functions"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qvaluelist.html">QValueList</A><<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>> <strong>functions</strong> () <br></td><td align="right"><h3><strong>functions</strong></h3></td></tr></table><p></p><p> Convenience method, when using this class as object. See documentation of the constructor and static functions method. </p> <A NAME="functions"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qvaluelist.html">QValueList</A><<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A>> <strong>functions</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> *object ) <br></td><td align="right"><h3><strong>functions</strong></h3></td></tr></table><p> <small>[static]</small></p><p> Returns a semicolon-separated list of functions understood by the PropertyProxy for the given QObject argument. </p> <p> Returns "property(QCString);setProperty(QCString,QVariant);propertyNames();" plus set/get methods for the properties of the given object argument. </p> <p></p> <p><b>See also</b>: DCOPObject::functions()</p> <A NAME="isPropertyRequest"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool <strong>isPropertyRequest</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &fun, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> *object ) <br></td><td align="right"><h3><strong>isPropertyRequest</strong></h3></td></tr></table><p> <small>[static]</small></p><p> Returns true if the method request in the fun argument matches the signature of the three standard property methods or set/get methods for the properties of the object argument. </p> <p> Use this method in your own DCOPObject dispatcher to check if the DCOP request is a property request which can be handled by this class. </p> <A NAME="processPropertyRequest"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool <strong>processPropertyRequest</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &fun, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qbytearray.html">QByteArray</A> &data, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qcstring.html">QCString</A> &replyType, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qbytearray.html">QByteArray</A> &replyData, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> *object ) <br></td><td align="right"><h3><strong>processPropertyRequest</strong></h3></td></tr></table><p> <small>[static]</small></p><p> Processes the given DCOP method request by translating the request into a setProperty/property call on the given QObject argument. </p> <HR> <table> <tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:08:56 2002, using kdoc 2.0a53.</small></td></tr> </table> </BODY> </HTML>