/usr/include/qxrunner/settingsdialog.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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | /*!
* \file settingsdialog.h
*
* \brief Declares class SettingsDialog.
*/
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H
#include "ui_settingsdialog.h"
#include "runnerwindowclient.h"
namespace QxRunner {
/*!
* \brief The SettingsDialog class allows selection of program
* settings.
*
* The settings can be applied immediately and will be stored in the
* settings file at program exit. Currently the only choice presented
* in the dialog is whether the views have alternating row colors or not.
*/
class SettingsDialog : public QDialog,
public RunnerWindowClient
{
Q_OBJECT
public: // Operations
/*!
* Constructs a settings dialog with the given \a parent
* and \a window.
*/
SettingsDialog(QWidget* parent, RunnerWindow* window);
/*!
* Destroys this settings dialog.
*/
~SettingsDialog();
private slots:
/*!
* All settings are applied but the dialog remains open.
*/
void apply();
/*!
* All settings are applied and the dialog gets closed.
*/
void accept();
/*!
* The dialog gets closed without applying any settings.
*/
void reject();
private: // Operations
// Copy and assignment not supported.
SettingsDialog(const SettingsDialog&);
SettingsDialog& operator=(const SettingsDialog&);
private: // Attributes
Ui::SettingsDialog ui;
bool m_alternatingRowColors;
};
} // namespace
#endif // SETTINGSDIALOG_H
|