This file is indexed.

/usr/include/srchiliteqt/StyleComboBox.h is in libsource-highlight-qt4-dev 0.2.2-0ubuntu5.

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
/*
 *  Copyright (C) 2008-2010  Lorenzo Bettini, http://www.lorenzobettini.it
 *  License: See COPYING file that comes with this distribution
 */

#ifndef STYLECOMBOBOX_H
#define STYLECOMBOBOX_H

#include <QComboBox>

namespace srchiliteqt {

/**
  * A subclass of QComboBox which provides functionalities for showing
  * and selecting the style files of Source-Highlight.
  */
class StyleComboBox : public QComboBox
{
    Q_OBJECT
public:
    /**
      * Initializes the combo box with the .style and .css files retrieved in the
      * specified path.
      * @param path where to look for files (if empty, uses the data dir
      * path of source-highlight)
      */
    StyleComboBox(const QString &path = "");

public slots:
    /**
     * Sets the style file in the combo
     * @param styleFile the style file name; if the file is not part of the
     * combo list, nothing happens
     */
    void setCurrentStyle(const QString &styleFile);

    /**
      * @return the currently selected style file
      */
    const QString getCurrentStyle() const;

    /**
     * Reloads the contents of the combo box by using the specified
     * path for searching for .style and .css files.
     * @param path
     */
    void reload(const QString &path);

};

}

#endif // STYLECOMBOBOX_H