This file is indexed.

/usr/include/libindicate-qt/qindicateindicator.h is in libindicate-qt-dev 0.2.5.91-1ubuntu3.

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
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/*
 * Qt wrapper for libindicate
 *
 * Copyright 2009 Canonical Ltd.
 *
 * Authors:
 * - Aurélien Gâteau <aurelien.gateau@canonical.com>
 *
 * License: LGPL v2.1 or LGPL v3
 */
#ifndef QINDICATEINDICATOR_H
#define QINDICATEINDICATOR_H

// Qt
#include <QMetaType>
#include <QObject>

// Local
#include <qindicate_export.h>

class QDateTime;
class QImage;
class QStringList;
class QTime;

struct _IndicateIndicator;

namespace QIndicate
{

struct IndicatorPrivate;
class INDICATEQT_EXPORT Indicator : public QObject
{
Q_OBJECT
public:
    Indicator(QObject* parent=0);
    ~Indicator();

    void setIndicatorProperty(const QString& key, const char* value);
    void setIndicatorProperty(const QString& key, const QString& value);
    void setIndicatorProperty(const QString& key, const QDateTime& value);
    void setIndicatorProperty(const QString& key, const QImage& value);
    void setIndicatorProperty(const QString& key, int value);
    void setIndicatorProperty(const QString& key, bool value);

    QByteArray indicatorProperty(const QString& key) const;
    QDateTime dateTimeIndicatorProperty(const QString& key) const;
    int intIndicatorProperty(const QString& key, int defaultValue=0) const;
    bool boolIndicatorProperty(const QString& key, bool defaultValue=false) const;

    /**
     * Convenience method to define icon
     */
    void setIconProperty(const QImage&);

    /**
     * Convenience method to read icon
     */
    QImage iconProperty() const;

    /**
     * Convenience method to define time
     */
    void setTimeProperty(const QDateTime&);

    /**
     * Convenience method to read time
     */
    QDateTime timeProperty() const;

    /**
     * Convenience method to define name
     */
    void setNameProperty(const QString&);

    /**
     * Convenience method to read name
     */
    QString nameProperty() const;

    /**
     * Convenience method to define count
     */
    void setCountProperty(int);

    /**
     * Convenience method to read count
     */
    int countProperty() const;

    /**
     * Convenience method to define draw_attention
     */
    void setDrawAttentionProperty(bool);

    /**
     * Convenience method to read draw_attention
     */
    bool drawAttentionProperty() const;

    /**
     * Returns a list containing all the property keys
     */
    QStringList propertyList() const;

    void show();
    void hide();

    uint id() const;

    /**
     * Emit the display() signal
     */
    void emitDisplay();

Q_SIGNALS:
    /**
     * Emitted when the user has clicked on this indicator.  In the messaging
     * indicator this would be when someone clicks on the menu item for the
     * indicator.
     *
     * @since 0.2.0
     */
    void display(QIndicate::Indicator*);

protected:
    Indicator(struct _IndicateIndicator*, QObject* parent);

private:
    IndicatorPrivate* const d;
};

} // namespace

Q_DECLARE_METATYPE(QIndicate::Indicator*);

#endif /* QINDICATEINDICATOR_H */