X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=mainwindow.h;h=2a4babc7ea81fa13e119549732e2f3fd550d01a4;hb=fc5de9a3bac1a47d281a12a6f5a6e82c3c6c771b;hp=c8b0e11ee96933095671d15f2ad8679ea1c0fca1;hpb=5a817acc28ea04b9630c65515c1b9ed64b056b5e;p=ghostsoverboard diff --git a/mainwindow.h b/mainwindow.h index c8b0e11..2a4babc 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -1,3 +1,25 @@ +/************************************************************************** + Ghosts Overboard - a game for Maemo 5 + + Copyright (C) 2011 Heli Hyvättinen + + This file is part of Ghosts Overboard + + Ghosts Overboard is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +**************************************************************************/ + #ifndef MAINWINDOW_H #define MAINWINDOW_H @@ -6,6 +28,7 @@ #include "orientationcontrolledgraphicspixmapobject.h" #include "seascene.h" + class MainWindow : public QMainWindow { Q_OBJECT @@ -14,6 +37,8 @@ public: MainWindow(QWidget *parent = 0); ~MainWindow(); + bool event(QEvent *event); + public slots: void initializeBoundaries(); void restartLevel(); @@ -25,9 +50,7 @@ private: SeaScene * pScene_; QGraphicsView * pView_; - - - +QAction* pPauseAction_; };