This file is indexed.

/usr/include/qxrunner/utils.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
/*!
 * \file  utils.h
 *
 * \brief Declares class Utils.
 */

#ifndef UTILS_H
#define UTILS_H

#include <QList>

class QTreeView;
class QVariant;
class QModelIndex;
class QAbstractItemModel;

namespace QxRunner {

/*!
 * \brief The Utils class provides a set of static helper functions.
 *       
 *
 * The methods of this class provide logic that must otherwise be
 * coded identically at different locations in the project. It's not
 * possible to create an instance of the class.
 */

class Utils
{
public: // Operations

	/*!
	 * Returns the width of the columns in the \a view.
	 */
	static QList<int> columnSizes(QTreeView* view);

	/*!
	 * Returns the icon that represents \a result which must be a
	 * QxRunner::RunnerResult value.
	 */
	static QVariant resultIcon(int result);

	/*!
	 * Returns the source model of the proxy \a model.
	 */
	static QAbstractItemModel* modelFromProxy(QAbstractItemModel* model);

	/*!
	 * Returns the source model index corresponding to the given proxy
	 * \a index from the proxy \a model.
	 */
	static QModelIndex modelIndexFromProxy(QAbstractItemModel* model,
                                           const QModelIndex& index);

	/*!
	 * Returns the model index in the proxy \a model given the source
	 * \a index from the source model.
	 */
	static QModelIndex proxyIndexFromModel(QAbstractItemModel* model,
                                           const QModelIndex& index);

private: // Operations

	/*!
	 * Virtual destructor required when there are virtual methods.
	 */
	virtual ~Utils() {};

	/*!
	 * Prevents from creating an instance of this class.
	 */
	virtual void dummy() = 0;
};

} // namespace

#endif // UTILS_H