This file is indexed.

/usr/include/srchiliteqt/OutputFormatComboBox.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
54
55
56
57
58
59
60
61
62
63
/*
 *  Copyright (C) 2008-2010  Lorenzo Bettini, http://www.lorenzobettini.it
 *  License: See COPYING file that comes with this distribution
 */

#ifndef OUTPUTFORMATCOMBOBOX_H
#define OUTPUTFORMATCOMBOBOX_H

#include <QComboBox>
#include "Qt4SyntaxHighlighter.h"

namespace srchiliteqt {

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

    /**
     * @param _highlighter the highlighter object; this will be used only for initialization
     * @deprecated use the other constructor, which permits not needing a Qt4SyntaxHighlighter
     * only for initialization
     */
    OutputFormatComboBox(srchiliteqt::Qt4SyntaxHighlighter *_highlighter);

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

    /**
      * @return the output format definition file name currently selected
      */
    const QString getCurrentOutputFormat() const;

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

};

}

#endif // OUTPUTFORMATCOMBOBOX_H