This file is indexed.

/usr/include/ibus-qt/qibusattribute.h is in libibus-qt-dev 1.3.3-1build2.

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
#ifndef __Q_IBUS_ATTRIBUTE_H_
#define __Q_IBUS_ATTRIBUTE_H_

#include "qibusserializable.h"

namespace IBus {

class Attribute;
typedef Pointer<Attribute> AttributePointer;


class Attribute : public Serializable
{
    Q_OBJECT

public:
    /*
     * Type enumeration of IBusText attribute.
     */
    typedef enum {
        TypeUnderline  = 1,
        TypeForeground = 2,
        TypeBackground = 3,
    } Type;
    
    /*
     * Type of IBusText attribute.
     */
    typedef enum {
        UnderlineNone   = 0,
        UnderlineSingle = 1,
        UnderlineDouble = 2,
        UnderlineLow    = 3,
        UnderlineError  = 4,
    } Underline;

public:
    Attribute (uint type = 0, uint value = 0, uint start = 0, uint end = 0) :
    m_type (type), m_value (value),m_start (start), m_end (end) {}

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

    uint type (void) const { return m_type; }
    uint value (void) const { return m_value; }
    uint start (void) const { return m_start; }
    uint end (void) const { return m_end; }
    uint length (void) const { return (m_end - m_start); }

protected:
    uint    m_type;
    uint    m_value;
    uint    m_start;
    uint    m_end;

    IBUS_SERIALIZABLE
};

class AttributeUnderline : public Attribute
{
public:
    AttributeUnderline (uint underlineType = 0, uint start = 0, uint end = 0)
        : Attribute (TypeUnderline, underlineType, start, end) {}
};

class AttributeForeground: public Attribute
{
public:
    AttributeForeground (uint color = 0, uint start = 0, uint end = 0)
        : Attribute (TypeForeground, color, start, end) {}
};

class AttributeBackground: public Attribute
{
public:
    AttributeBackground (uint color = 0, uint start = 0, uint end = 0)
        : Attribute (TypeBackground, color, start, end) {}
};

};

#endif