initial import
[vym] / imageobj.h
diff --git a/imageobj.h b/imageobj.h
new file mode 100644 (file)
index 0000000..080722d
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef IMAGEOBJ_H
+#define IMAGEOBJ_H
+
+#include <QGraphicsScene>
+#include <QGraphicsPixmapItem>
+
+/*! \brief Base class for pixmaps.
+*/
+
+class ImageObj: public QGraphicsPixmapItem
+{
+public:
+    ImageObj( QGraphicsScene *);
+    ~ImageObj();
+       void copy (ImageObj*);
+    void setVisibility(bool);
+       void save (const QString &, const char *);
+       bool load (const QString &);
+       bool load (const QPixmap &);
+private:
+       QGraphicsScene *mapScene;
+};
+#endif