Initial commit
[vexed] / iconset.h
diff --git a/iconset.h b/iconset.h
new file mode 100644 (file)
index 0000000..f913fa4
--- /dev/null
+++ b/iconset.h
@@ -0,0 +1,24 @@
+#ifndef ICONSET_H
+#define ICONSET_H
+
+#include <QtCore>
+#include <QtGui>
+namespace IS
+{
+        const int ICONS=8;
+}
+class IconSet : public QObject
+{
+    Q_OBJECT
+private:
+        QPixmap icons[IS::ICONS];
+        QPixmap wall;
+public:
+    explicit IconSet(QObject *parent = 0);
+    QPixmap icon(int i) {return icons[i];}
+    QPixmap wallIcon() {return wall;}
+signals:
+        void iconSetChanged();
+};
+
+#endif // ICONSET_H