/usr/include/qxrunner/runnerwindowclient.h is in libqxrunner-dev 0.9.2-0ubuntu1.
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 86 87 88 89 90 91 92 93 94 95 96 97 | /*!
* \file runnerwindowclient.h
*
* \brief Declares class RunnerWindowClient.
*/
#ifndef RUNNERWINDOWCLIENT_H
#define RUNNERWINDOWCLIENT_H
#include <QTreeView>
namespace QxRunner {
class RunnerWindow;
class RunnerModel;
class RunnerProxyModel;
class ResultsModel;
class ResultsProxyModel;
/*!
* \brief The RunnerWindowClient class simplifies access to RunnerWindow.
*
* The RunnerWindowClient class defines a set of methods for accessing
* objects and attributes exposed by the main window. Most of the
* methods delegate requests to RunnerWindow. This class is intended
* to be subclassed or used directly.
*/
class RunnerWindowClient
{
public: // Operations
/*!
* Constructs a runner window client for the given \a window.
*/
RunnerWindowClient(RunnerWindow* window);
/*!
* Destroys this runner window client.
*/
virtual ~RunnerWindowClient();
/*!
* Returns the main window.
*/
RunnerWindow* window() const;
/*!
* Returns the runner view from the main window.
*/
QTreeView* runnerView() const;
/*!
* Returns the results view from the main window.
*/
QTreeView* resultsView() const;
/*!
* Returns the runner model from the main window.
*/
RunnerModel* runnerModel() const;
/*!
* Returns the runner proxy model from the main window.
*/
RunnerProxyModel* runnerProxyModel() const;
/*!
* Returns the results model from the main window.
*/
ResultsModel* resultsModel() const;
/*!
* Returns the results proxy model from the main window.
*/
ResultsProxyModel* resultsProxyModel() const;
/*!
* Returns true if the results view in the main window is
* visible, otherwise false.
*/
bool isResultsViewVisible() const;
private: // Operations
// Copy and assignment not supported.
RunnerWindowClient(const RunnerWindowClient&);
RunnerWindowClient& operator=(const RunnerWindowClient&);
private: // Attributes
RunnerWindow* m_window;
};
} // namespace
#endif // RUNNERWINDOWCLIENT_H
|