author | insilmaril |
Mon Jan 14 16:33:13 2008 +0000 (2008-01-14) | |
changeset 649 | 4004e795b1ad |
parent 408 | c2a05fa925a1 |
permissions | -rw-r--r-- |
1 #ifndef IMAGEOBJ_H
2 #define IMAGEOBJ_H
4 #include <QGraphicsScene>
5 #include <QGraphicsPixmapItem>
7 /*! \brief Base class for pixmaps.
8 */
10 class ImageObj: public QGraphicsPixmapItem
11 {
12 public:
13 ImageObj( QGraphicsScene *);
14 ~ImageObj();
15 void copy (ImageObj*);
16 void setVisibility(bool);
17 void save (const QString &, const char *);
18 bool load (const QString &);
19 bool load (const QPixmap &);
20 private:
21 QGraphicsScene *mapScene;
22 };
23 #endif