~lidaobing/ibus/ibus-qt

« back to all changes in this revision

Viewing changes to src/qibusproplist.h

  • Committer: LI Daobing
  • Date: 2009-07-28 14:30:44 UTC
  • Revision ID: lidaobing@gmail.com-20090728143044-2swzp2fwuu7p8xae
importĀ 1.2.0.20090728

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __Q_IBUS_PROP_LIST_H_
 
2
#define __Q_IBUS_PROP_LIST_H_
 
3
 
 
4
#include "qibusserializable.h"
 
5
#include "qibusproperty.h"
 
6
 
 
7
namespace IBus {
 
8
 
 
9
class PropList;
 
10
typedef Pointer<PropList> PropListPointer;
 
11
 
 
12
class PropList : public Serializable
 
13
{
 
14
    Q_OBJECT;
 
15
 
 
16
protected:
 
17
 
 
18
public:
 
19
    PropList (void);
 
20
 
 
21
public:
 
22
    virtual bool serialize (QDBusArgument &argument) const;
 
23
    virtual bool deserialize (const QDBusArgument &argument);
 
24
 
 
25
private:
 
26
    QList<PropertyPointer> m_props;
 
27
 
 
28
    IBUS_SERIALIZABLE
 
29
};
 
30
 
 
31
};
 
32
 
 
33
#endif