diff options
Diffstat (limited to 'pacman-c++/block.h')
| -rw-r--r-- | pacman-c++/block.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pacman-c++/block.h b/pacman-c++/block.h index 793d4a8..034a626 100644 --- a/pacman-c++/block.h +++ b/pacman-c++/block.h | |||
| @@ -1,11 +1,9 @@ | |||
| 1 | #ifndef BLOCK_H | 1 | #ifndef BLOCK_H |
| 2 | #define BLOCK_H | 2 | #define BLOCK_H |
| 3 | 3 | ||
| 4 | |||
| 5 | #include "pixmapitem.h" | 4 | #include "pixmapitem.h" |
| 6 | #include "constants.h" | 5 | #include "constants.h" |
| 7 | #include <map> | 6 | #include <QMap> |
| 8 | |||
| 9 | 7 | ||
| 10 | class Block | 8 | class Block |
| 11 | : public PixmapItem | 9 | : public PixmapItem |
| @@ -15,7 +13,7 @@ public: | |||
| 15 | 13 | ||
| 16 | private: | 14 | private: |
| 17 | // map for saving QPixmaps for reuse | 15 | // map for saving QPixmaps for reuse |
| 18 | static std::map<Color, QPixmap> m_pixmaps; | 16 | static QMap<Color, QPixmap> m_pixmaps; |
| 19 | }; | 17 | }; |
| 20 | 18 | ||
| 21 | #endif // BLOCK_H | 19 | #endif // BLOCK_H |
