Unnecessary includes removed.
[jspeed] / src / mainwindow.h
1 /*
2  * This file is part of jSpeed.
3  *
4  * jSpeed is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * jSpeed is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with jSpeed.  If not, see <http://www.gnu.org/licenses/>.
16  *
17  */
18
19 #ifndef MAINWINDOW_H
20 #define MAINWINDOW_H
21
22 #include <QtGui/QMainWindow>
23
24 class MainWindowStack;
25 class MainMenu;
26 class Theme;
27
28 class MainWindow : public QMainWindow
29 {
30     Q_OBJECT
31
32 public:
33     MainWindow();
34     ~MainWindow();
35
36 signals:
37     void quit();
38
39 private slots:
40     void minimize();
41     void openMenu();
42     void keepBacklightOn();
43     bool loadTheme();
44
45 private:
46     void addScreens();
47     void startGps();
48     void startBacklight();
49     MainWindowStack* stack_;
50     MainMenu* menu_;
51     Theme* theme_;
52
53 };
54
55 #endif