tdecore
kdcoppropertyproxy.h
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 <tqobject.h>
00023 #include <tqcstring.h>
00024 #include <tqvaluelist.h>
00025 #include "tdelibs_export.h"
00026
00027 class KDCOPPropertyProxyPrivate;
00039 class TDECORE_EXPORT KDCOPPropertyProxy
00040 {
00041 public:
00047 KDCOPPropertyProxy( TQObject *object );
00051 ~KDCOPPropertyProxy();
00052
00057 bool isPropertyRequest( const TQCString &fun );
00058
00063 bool processPropertyRequest( const TQCString &fun, const TQByteArray &data, TQCString &replyType,
00064 TQByteArray &replyData );
00065
00070 TQValueList<TQCString> functions();
00071
00081 static TQValueList<TQCString> functions( TQObject *object );
00082
00090 static bool isPropertyRequest( const TQCString &fun, TQObject *object );
00091
00096 static bool processPropertyRequest( const TQCString &fun, const TQByteArray &data, TQCString &replyType,
00097 TQByteArray &replyData, TQObject *object );
00098
00099 private:
00100 static bool decodePropertyRequestInternal( const TQCString &fun, TQObject *object, bool &set,
00101 TQCString &propName, TQCString &arg );
00102
00103 KDCOPPropertyProxyPrivate *d;
00104 };
00105
00106 #endif