ibus-qt  1.3.2
 All Classes Namespaces Functions Enumerations Enumerator
qibusproplist.h
1 #ifndef __Q_IBUS_PROP_LIST_H_
2 #define __Q_IBUS_PROP_LIST_H_
3 
4 #include "qibusserializable.h"
5 #include "qibusproperty.h"
6 #include "qibustext.h"
7 
8 namespace IBus {
9 
10 class Property;
11 class PropList;
12 typedef Pointer<PropList> PropListPointer;
13 typedef Pointer<Property> PropertyPointer;
14 
15 class PropList: public Serializable
16 {
17  Q_OBJECT;
18 
19 public:
20  PropList () {}
21  ~PropList () {}
22 
23 public:
24  virtual bool serialize (QDBusArgument &argument);
25  virtual bool deserialize (const QDBusArgument &argument);
26 
27 public :
28  bool appendProperty (const PropertyPointer &prop);
29  bool updateProperty (const PropertyPointer &prop);
30 
31 private:
32  QVector<PropertyPointer> m_props;
33 
34  IBUS_SERIALIZABLE
35 };
36 
37 };
38 
39 #endif
Definition: qibusproplist.h:15
Definition: qibusserializable.h:40
Definition: qibuspointer.h:10