Updated the index.html page
[quandoparte] / application / settingsdialog.h
1 #ifndef SETTINGSDIALOG_H
2 #define SETTINGSDIALOG_H
3
4 /*
5
6 Copyright (C) 2011 Luciano Montanaro <mikelima@cirulla.net>
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; see the file COPYING.  If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA.
22
23 */
24
25 #include <QDialog>
26
27 #ifdef Q_WS_MAEMO_5
28 class QMaemo5ValueButton;
29 #endif
30
31 namespace Ui {
32     class SettingsDialog;
33 }
34
35 class SettingsDialog : public QDialog
36 {
37     Q_OBJECT
38
39 public:
40     explicit SettingsDialog(QWidget *parent = 0);
41     ~SettingsDialog();
42
43 private slots:
44     void showStationChanged(bool);
45
46     void periodicUpdateToggled(bool checked);
47
48 private:
49 #ifdef Q_WS_MAEMO_5
50     QMaemo5ValueButton *updateIntervalButton;
51 #endif
52     Ui::SettingsDialog *ui;
53 };
54
55 #endif // SETTINGSDIALOG_H