Classified ads
settings.h
Go to the documentation of this file.
1 /* -*-C++-*- -*-coding: utf-8-unix;-*-
2  Classified Ads is Copyright (c) Antti Järvinen 2013.
3 
4  This file is part of Classified Ads.
5 
6  Classified Ads is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  Classified Ads is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with Classified Ads. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 #ifndef SETTINGS_DIALOG_H
21 #define SETTINGS_DIALOG_H
22 
23 #include <QDialog>
24 #include "../mcontroller.h"
25 #include "../ui_settingsDialog.h"
26 
31 class SettingsDialog : public QDialog
32 {
33  Q_OBJECT
34 
35  public:
39  SettingsDialog(QWidget *aParent,
40  MController& aController );
43 
44 private slots:
45  void okButtonClicked() ;
46  void cancelButtonClicked() ;
47 signals:
49  const QString& aExplanation) ;
50 private:
51  Ui_settingsDialog ui ;
53 };
54 
55 #endif
Ui_settingsDialog ui
Definition: settings.h:51
CAErrorSituation
Definition: mcontroller.h:48
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:39
MController & iController
Definition: settings.h:52
class for editing node-wide settings
Definition: settings.h:31
void okButtonClicked()
SettingsDialog(QWidget *aParent, MController &aController)
void cancelButtonClicked()
void error(MController::CAErrorSituation aError, const QString &aExplanation)