/usr/include/qxrunner/runner.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 | /*!
* \file runner.h
*
* \brief Declares class Runner.
*/
#ifndef RUNNER_H
#define RUNNER_H
#include "qxrunner_global.h"
class QIcon;
namespace QxRunner {
class RunnerModel;
/*!
* \brief The Runner class starts a QxRunner application.
*
* This class creates the main window and shows it on screen. When
* the main window closes QApplication also quits.
*
* The runner can be given an application icon, typically displayed in
* the top-left corner of windows. This icon overrides the QxRunner
* default icon. Not to be confused with the icon of the executable
* application file itself as presented on the desktop. To change this
* it is necessary to employ a platform-dependent technique as
* described in the Qt documentation.
*/
class QXRUNNER_EXPORT Runner
{
public: // Operations
/*!
* Constructs a runner with the given \a model.
*/
Runner(RunnerModel* model);
/*!
* Destroys this runner.
*
* \note
* Deleting the model provided at construction time is left to the
* owner of the model instance.
*/
virtual ~Runner();
/*!
* Shows the main window.
*/
void run();
/*!
* Sets the application \a icon.
*/
void setWindowIcon(const QIcon& icon);
private: // Operations
// Copy and assignment not supported.
Runner(const Runner&);
Runner& operator=(const Runner&);
private: // Attributes
RunnerModel* m_model;
QIcon* m_icon;
};
} // namespace
#endif // RUNNER_H
|