SVN_SILENT made messages (.desktop file)
[kdegames.git] / konquest / minimapview.h
blobcaa71c4743c4968472492e3d78529048d0dfdfb8
1 /*
2 Copyright Russell Steffen <rsteffen@bayarea.net>
3 Copyright Stephan Zehetner <s.zehetner@nevox.org>
4 Copyright Dmitry Suzdalev <dimsuz@gmail.com>
5 Copyright <inge@lysator.liu.se>
6 Copyright <pinaraf@gmail.com>
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.
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
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 #ifndef _MINIMAPVIEW_H
23 #define _MINIMAPVIEW_H
26 #include <QWidget>
28 #include "map.h"
31 class MiniMapView : public QWidget
33 Q_OBJECT
35 public:
36 explicit MiniMapView( QWidget *parent = 0 );
37 ~MiniMapView();
39 void setMap( Map *newMap );
41 protected:
42 void paintEvent(QPaintEvent *event);
44 private:
45 Map *m_map;
49 #endif // _MINIMAP_H_