diff options
| author | manuel <manuel@mausz.at> | 2011-04-05 12:26:04 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-05 12:26:04 +0200 |
| commit | bfaf2e63e64169abbb1a4c079a937091060574b7 (patch) | |
| tree | 4054c7cce1f9e8aaa467ef51e28c581c40986b93 /pacman-c++/block.h | |
| parent | 897bc2bb42d79369d2f915d0da4e3b7f3b1a6fce (diff) | |
| download | foop-bfaf2e63e64169abbb1a4c079a937091060574b7.tar.gz foop-bfaf2e63e64169abbb1a4c079a937091060574b7.tar.bz2 foop-bfaf2e63e64169abbb1a4c079a937091060574b7.zip | |
forgot some commits..
replace std::map with QMap
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 |
