diff options
| author | manuel <manuel@mausz.at> | 2011-04-04 12:26:35 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-04 12:26:35 +0200 |
| commit | 606d2a2a3d53930b10c2057f96165f8cd4e6f165 (patch) | |
| tree | 851cc2b5ee1da9ddb7dbe87d7913cd26d162fd62 /pacman-c++/pixmapitem.h | |
| parent | a35824a3319ae9c304263185c4efc449e2c2cf73 (diff) | |
| download | foop-606d2a2a3d53930b10c2057f96165f8cd4e6f165.tar.gz foop-606d2a2a3d53930b10c2057f96165f8cd4e6f165.tar.bz2 foop-606d2a2a3d53930b10c2057f96165f8cd4e6f165.zip | |
make the pacman move!
Diffstat (limited to 'pacman-c++/pixmapitem.h')
| -rw-r--r-- | pacman-c++/pixmapitem.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pacman-c++/pixmapitem.h b/pacman-c++/pixmapitem.h index e6aa79e..8e7d4f0 100644 --- a/pacman-c++/pixmapitem.h +++ b/pacman-c++/pixmapitem.h | |||
| @@ -7,8 +7,6 @@ | |||
| 7 | class PixmapItem | 7 | class PixmapItem |
| 8 | : public QGraphicsObject | 8 | : public QGraphicsObject |
| 9 | { | 9 | { |
| 10 | Q_PROPERTY(bool visibleX READ isVisible WRITE setVisible) | ||
| 11 | |||
| 12 | public: | 10 | public: |
| 13 | PixmapItem(QGraphicsItem *parent = 0); | 11 | PixmapItem(QGraphicsItem *parent = 0); |
| 14 | PixmapItem(const QString &fileName, QGraphicsItem *parent = 0); | 12 | PixmapItem(const QString &fileName, QGraphicsItem *parent = 0); |
| @@ -21,11 +19,6 @@ public: | |||
| 21 | QRectF boundingRect() const; | 19 | QRectF boundingRect() const; |
| 22 | void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *); | 20 | void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *); |
| 23 | 21 | ||
| 24 | #if 0 | ||
| 25 | bool isVisible() const; | ||
| 26 | void setVisible(bool v); | ||
| 27 | #endif | ||
| 28 | |||
| 29 | private: | 22 | private: |
| 30 | QPixmap m_pix; | 23 | QPixmap m_pix; |
| 31 | int m_x, m_y; | 24 | int m_x, m_y; |
