KDECore
kdcoppropertyproxy.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __kdcoppropertyproxy_h__
00020 #define __kdcoppropertyproxy_h__
00021
00022 #include <qobject.h>
00023 #include <qcstring.h>
00024 #include <qvaluelist.h>
00025 #include "kdelibs_export.h"
00026
00027 class KDCOPPropertyProxyPrivate;
00039 class KDECORE_EXPORT KDCOPPropertyProxy
00040 {
00041 public:
00047 KDCOPPropertyProxy( QObject *object );
00051 ~KDCOPPropertyProxy();
00052
00057 bool isPropertyRequest( const QCString &fun );
00058
00063 bool processPropertyRequest( const QCString &fun, const QByteArray &data, QCString &replyType,
00064 QByteArray &replyData );
00065
00070 QValueList<QCString> functions();
00071
00081 static QValueList<QCString> functions( QObject *object );
00082
00090 static bool isPropertyRequest( const QCString &fun, QObject *object );
00091
00096 static bool processPropertyRequest( const QCString &fun, const QByteArray &data, QCString &replyType,
00097 QByteArray &replyData, QObject *object );
00098
00099 private:
00100 static bool decodePropertyRequestInternal( const QCString &fun, QObject *object, bool &set,
00101 QCString &propName, QCString &arg );
00102
00103 KDCOPPropertyProxyPrivate *d;
00104 };
00105
00106 #endif