/usr/include/ibus-qt/qibusattrlist.h is in libibus-qt-dev 1.3.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #ifndef __Q_IBUS_ATTRLIST_H_
#define __Q_IBUS_ATTRLIST_H_
#include "qibusattribute.h"
#include <QVector>
namespace IBus {
class AttrList;
typedef Pointer<AttrList> AttrListPointer;
class AttrList : public Serializable {
Q_OBJECT
public :
AttrList (): m_attrs (0) {}
virtual ~AttrList ();
public :
AttributePointer get(int index) const;
void append (const AttributePointer &attr);
void clear (void);
uint size (void) const { return m_attrs.size (); }
AttributePointer operator[] (int index) const { return get (index); }
virtual bool serialize (QDBusArgument &argument);
virtual bool deserialize (const QDBusArgument &argument);
private :
QVector<AttributePointer> m_attrs;
IBUS_SERIALIZABLE
};
} /* IBUS */
#endif
|