[svn-inject] Installing original source of teleschorsch
[debian/teleschorsch.git] / options.h
1 #include "ui_options.h"
2 #include "main.h"
3
4 class OptionsDialog: public QDialog, public Ui::OptionsDialog {
5 Q_OBJECT
6
7 public:
8         OptionsDialog(QWidget *parent = 0);
9
10         /// \brief Shows a dialog where the user can edit the specified configuration file.
11         ///
12         /// If the file was modified and successfully saved, true is returned, otherwise false.
13         /// The dialog shows error to the user itself.
14         /// \todo First try to save and afterwards save. This would give the user the chance to copy & paste his/her changes.
15         /// \param configFile file name with full path to the configuration file to edit.
16         bool exec(const QString& configFile);
17 };
18