summaryrefslogtreecommitdiff
path: root/src/pluginflagicondelegate.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-01-23 00:05:46 +0100
committerTannin <devnull@localhost>2014-01-23 00:05:46 +0100
commite597823337c858f2985c615ee5147f47567991ee (patch)
treee42647cf1114ebd4d42e4a8c15a91b941961c3df /src/pluginflagicondelegate.h
parente69210b3a78c4a6c63086d84e6bdb2c3b47d8944 (diff)
- boss integration
- plugin list can now also display multiple flags for a file (like the mod list) - changed some compiler&linker settings to produce smaller binaries
Diffstat (limited to 'src/pluginflagicondelegate.h')
-rw-r--r--src/pluginflagicondelegate.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/pluginflagicondelegate.h b/src/pluginflagicondelegate.h
new file mode 100644
index 00000000..554e968b
--- /dev/null
+++ b/src/pluginflagicondelegate.h
@@ -0,0 +1,17 @@
+#ifndef PLUGINFLAGICONDELEGATE_H
+#define PLUGINFLAGICONDELEGATE_H
+
+#include "icondelegate.h"
+
+class PluginFlagIconDelegate : public IconDelegate
+{
+public:
+ PluginFlagIconDelegate(QObject *parent = NULL);
+
+ // IconDelegate interface
+private:
+ virtual QList<QIcon> getIcons(const QModelIndex &index) const;
+ virtual size_t getNumIcons(const QModelIndex &index) const;
+};
+
+#endif // PLUGINFLAGICONDELEGATE_H