From 817dcc4e4493fb89c6d52b5e5ce1548b6a047d08 Mon Sep 17 00:00:00 2001 From: manuel Date: Sun, 10 Apr 2011 21:34:29 +0200 Subject: - first round of coding cleanup - small sound fix --- pacman-c++/sceneholder.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pacman-c++/sceneholder.h') diff --git a/pacman-c++/sceneholder.h b/pacman-c++/sceneholder.h index f188956..7494c3f 100644 --- a/pacman-c++/sceneholder.h +++ b/pacman-c++/sceneholder.h @@ -15,15 +15,17 @@ class SceneHolder public: SceneHolder(QWidget* parent = 0); - virtual ~SceneHolder() {}; + virtual ~SceneHolder() + {}; protected: - virtual void updateMap(const Transmission::map_t& map); // data conversion QPoint mapPositionToCoord(unsigned int x, unsigned int y); + QPoint mapPositionToCoord(QPoint point); QPoint CoordToMapPosition(unsigned int x, unsigned int y); + QPoint CoordToMapPosition(QPoint point); // map of all pixmap instances QVector< QVector > visualMap; @@ -32,7 +34,6 @@ protected: QMap m_actors; QGraphicsScene *m_scene; - }; #endif // SCENEHOLDER_H -- cgit v1.2.3