/usr/include/qxrunner/stoppingdialog.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 | /*!
* \file stoppingdialog.h
*
* \brief Declares class StoppingDialog.
*/
#ifndef STOPPINGDIALOG_H
#define STOPPINGDIALOG_H
#include "ui_stoppingdialog.h"
namespace QxRunner {
class RunnerModel;
/*!
* \brief The StoppingDialog class tries to stop item execution.
*
* The stopping dialog instructs RunnerModel to stop item execution
* without the dialog being visible on the screen. If not successful
* at first attempt the dialog is shown to the user to give a visual
* hint as well as a chance to interrupt the stopping.
*/
class StoppingDialog : public QDialog
{
Q_OBJECT
public: // Operations
/*!
* Constructs a stopping dialog with the given \a parent and
* \a model.
*/
StoppingDialog(QWidget* parent, RunnerModel* model);
/*!
* Destroys this stopping dialog.
*/
~StoppingDialog();
/*!
* Reimplemented from QDialog. Returns \c QDialog::Accepted when
* stopping was successful, otherwise \c QDialog::Rejected.
*/
int exec();
private slots:
/*!
* Reimplemented from QDialog. Ensures that the dialog gets
* closed properly.
*/
void reject();
private: // Operations
// Copy and assignment not supported.
StoppingDialog(const StoppingDialog&);
StoppingDialog& operator=(const StoppingDialog&);
private: // Attributes
Ui::StoppingDialog ui;
RunnerModel* m_model;
bool m_shouldClose;
};
} // namespace
#endif // STOPPINGDIALOG_H
|