This file is indexed.

/usr/include/qxrunner/resultsviewcontroller.h is in libqxrunner-dev 0.9.2-0ubuntu4.

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
/*!
 * \file  resultsviewcontroller.h
 *
 * \brief Declares class ResultsViewController.
 */

#ifndef RESULTSVIEWCONTROLLER_H
#define RESULTSVIEWCONTROLLER_H

#include "viewcontrollercommon.h"

#include <QObject>

namespace QxRunner {

class ResultsModel;
class ResultsProxyModel;

/*!
 * \brief The ResultsViewController class provides functionality for
 *        the results view.
 *
 * This helper class is introduced to avoid bloating the main window
 * class with code specific for views representing data from ResultsModel.
 *
 * Sorting of data isn't available as long as there is no data to
 * represent. When the model contains data then clicking on a column
 * header sorts the data according to that column.
 *
 * \sa \ref views
 */

class ResultsViewController : public QObject,
                              public ViewControllerCommon
{
	Q_OBJECT

public: // Operations

	/*!
	 * Constructs a results view controller with the given \a parent
	 * and \a view.
	 */
    ResultsViewController(QObject* parent, QTreeView* view);

	/*!
	 * Destroys this results view controller.
	 */
    ~ResultsViewController();

	/*!
	 * Enables sorting if \a enable is true, otherwise disables
	 * sorting.
	 */
	void enableSorting(bool enable) const;

	/*!
	 * Returns the model that contains the data that is available
	 * through the proxy model.
	 */
	ResultsModel* resultsModel() const;

	/*!
	 * Returns the proxy model that the view is presenting.
	 */
	ResultsProxyModel* resultsProxyModel() const;

private slots:

	/*!
	 * Enables sortign when the model has data, otherwise disables
	 * sorting.
	 */
	void setupSorting() const;

private: // Operations

	// Copy and assignment not supported.
	ResultsViewController(const ResultsViewController&);
	ResultsViewController& operator=(const ResultsViewController&);
};

} // namespace

#endif // RESULTSVIEWCONTROLLER_H