This file is indexed.

/usr/include/ibus-qt/qibuslookuptable.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
#ifndef __Q_IBUS_LOOKUP_TABLE_H_
#define __Q_IBUS_LOOKUP_TABLE_H_

#include "qibusserializable.h"
#include "qibustext.h"
#include "qibustypes.h"

namespace IBus {

class LookupTable;
typedef Pointer<LookupTable> LookupTablePointer;

class LookupTable: public Serializable
{
    Q_OBJECT;

public:
    LookupTable (uint pageSize = 5,
                 uint cursorPos = 0,
                 bool cursorVisible = true,
                 bool round = true,
                 int orientation = OrientationSystem
                 ):
                 m_pageSize (pageSize),
                 m_cursorPos (cursorPos),
                 m_cursorVisible (cursorVisible),
                 m_round (round),
                 m_orientation (orientation) {}

    ~LookupTable() {}

public:
    virtual bool serialize (QDBusArgument & argument);
    virtual bool deserialize (const QDBusArgument & argument);
    void appendCandidate (const TextPointer & e);
    void appendLabel (const TextPointer & e);

    TextPointer candidate (uint index) const;
    TextPointer label (const uint index) const;
    const QVector<TextPointer> & candidates () const { return m_candidates; }
    const QVector<TextPointer> & labels () const { return m_labels; }
    uint cursorPos () const { return m_cursorPos; }
    uint pageSize () const {return m_pageSize; }
    bool isCursorVisible () const { return m_cursorVisible; }
    bool isRound () const { return m_round; }
    int orientation () const { return m_orientation; }

    void setCursorPos (const uint cursorPos);
    void setCursorVisible (bool visible);
    void setPageSize (uint pageSize);
    void setOrientation (int orientation);
    uint cursorPosInPage () const;
    void clean (void);

    bool pageUp();
    bool pageDown();
    bool cursorUp();
    bool cursorDown();

private:
    uint        m_pageSize;
    uint        m_cursorPos;
    bool        m_cursorVisible;
    bool        m_round;
    int         m_orientation;

    QVector<TextPointer>    m_candidates;
    QVector<TextPointer>    m_labels;

    IBUS_SERIALIZABLE
};

};

#endif