This file is indexed.

/usr/include/ibus-qt/qibusproperty.h is in libibus-qt-dev 1.3.2-2build1.

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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#ifndef __Q_IBUS_PROPERTY_H_
#define __Q_IBUS_PROPERTY_H_

#include "qibusserializable.h"
#include "qibusproplist.h"
#include "qibustext.h"

namespace IBus {

/* type of QIBusProperty */
typedef enum
{
    TypeNormal = 0,
    TypeToggle = 1,
    TypeRadio = 2,
    TypeMenu = 3,
    TypeSeparator = 4,
}PropType;

/*
 * State of QIBusProperty. The actual effect
 * depends on #QIBusPropType of the QIBusProperty.
 */
typedef enum
{
    StateUnchecked = 0,
    StateChecked = 1,
    StateInconsistent = 2,
} PropState;

class Property;
class PropList;
typedef Pointer<PropList> PropListPointer;
typedef Pointer<Property> PropertyPointer;

class Property : public Serializable
{
    Q_OBJECT;


public:
    Property () {}
    Property (const QString key,
              const QString icon,
              const TextPointer &label,
              const TextPointer &tooltip,
              bool sensitive,
              bool visible,
              uint type,
              uint state,
              const PropListPointer &subProps):
              m_key(key),
              m_icon(icon),
              m_label(label),
              m_tooltip(tooltip),
              m_sensitive(sensitive),
              m_visible(visible),
              m_type(type),
              m_state(state),
              m_subProps(subProps) {}

    ~Property () {}

public:
    virtual bool serialize (QDBusArgument &argument);
    virtual bool deserialize (const QDBusArgument &argument);

public:
    void setLabel (const TextPointer & lable);
    void setVisible (bool visible);
    void setSubProps (const PropListPointer & props);
    bool update (const PropertyPointer prop);

private:

    QString m_key;
    QString m_icon;
    TextPointer m_label;
    TextPointer m_tooltip;
    bool m_sensitive;
    bool m_visible;
    uint m_type;
    uint m_state;
    PropListPointer m_subProps;

    IBUS_SERIALIZABLE
};

};
#endif