2 Situare - A location system for Facebook
3 Copyright (C) 2010 Ixonos Plc. Authors:
5 Henri Lampela - henri.lampela@ixonos.com
6 Kaj Wallin - kaj.wallin@ixonos.com
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.
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.
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,
24 #include "mainwindow.h"
26 MainWindow::MainWindow(QWidget *parent)
29 this->setWindowTitle(tr("Situare"));
33 MainWindow::~MainWindow()
38 void MainWindow::createMenus()
40 toListViewAct = new QAction(tr("List"),this);
41 toMapViewAct = new QAction(tr("Map"),this);
42 viewMenu = menuBar()->addMenu(tr("View"));
43 viewMenu->addAction(toListViewAct);
44 viewMenu->addAction(toMapViewAct);