7f40d923ccafe85b53a0d98281f2c7d8570f3e09
[situare] / src / ui / mainwindow.h
1 /*
2     Situare - A location system for Facebook
3     Copyright (C) 2010  Ixonos Plc. Authors:
4
5        Henri Lampela - henri.lampela@ixonos.com
6        Kaj Wallin - kaj.wallin@ixonos.com
7
8     Situare is free software; you can redistribute it and/or
9     modify it under the terms of the GNU General Public License
10     version 2 as published by the Free Software Foundation.
11
12     Situare is distributed in the hope that it will be useful,
13     but WITHOUT ANY WARRANTY; without even the implied warranty of
14     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15     GNU General Public License for more details.
16
17     You should have received a copy of the GNU General Public License
18     along with Situare; if not, write to the Free Software
19     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
20     USA.
21  */
22
23 #ifndef MAINWINDOW_H
24 #define MAINWINDOW_H
25
26 #include <QtGui/QMainWindow>
27
28 class QMenu;
29 class QAction;
30
31 class MainWindow : public QMainWindow
32 {
33     Q_OBJECT
34
35 public:
36     MainWindow(QWidget *parent = 0);
37     ~MainWindow();
38
39 private:
40     void createMenus();
41
42     QMenu *viewMenu;
43     QAction *toListViewAct;
44     QAction *toMapViewAct;
45 };
46
47 #endif // MAINWINDOW_H