diff options
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; |
