/usr/include/qxrunner/runnerproxymodel.h is in libqxrunner-dev 0.9.2-0ubuntu3.
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 | /*!
* \file runnerproxymodel.h
*
* \brief Declares class RunnerProxyModel.
*/
#ifndef RUNNERROXYMODEL_H
#define RUNNERROXYMODEL_H
#include "proxymodelcommon.h"
#include <QSortFilterProxyModel>
namespace QxRunner {
/*!
* \brief The RunnerProxyModel class provides support for sorting and
* filtering data passed between RunnerModel and a view.
*
* When a column of the model is disabled, no data is returned for
* that column.
*
* \sa \ref views
*/
class RunnerProxyModel : public QSortFilterProxyModel,
public ProxyModelCommon
{
Q_OBJECT
public: // Operations
/*!
* Constructs a runner proxy model with the given \a parent.
*/
RunnerProxyModel(QObject* parent);
/*!
* Destroys this runner proxy model.
*/
~RunnerProxyModel();
/*!
* Returns the data stored under the given \a role for the item
* referred to by \a index.
*/
QVariant data(const QModelIndex& index, int role) const;
private: // Operations
// Copy and assignment not supported.
RunnerProxyModel(const RunnerProxyModel&);
RunnerProxyModel& operator=(const RunnerProxyModel&);
};
} // namespace
#endif // RUNNERROXYMODEL_H
|