aboutsummaryrefslogtreecommitdiff
path: root/qdeduper/imageitem.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'qdeduper/imageitem.hpp')
-rw-r--r--qdeduper/imageitem.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qdeduper/imageitem.hpp b/qdeduper/imageitem.hpp
index 2d90644..5b1a1f3 100644
--- a/qdeduper/imageitem.hpp
+++ b/qdeduper/imageitem.hpp
@@ -17,7 +17,8 @@ public:
file_size_role,
hotkey_role,
database_id_role,
- default_order_role
+ default_order_role,
+ pixelcnt_role
};
ImageItem(QString fn, QString dispn, QKeySequence hotkey, size_t dbid, size_t ord, double pxratio = 1.0);
@@ -25,6 +26,7 @@ public:
size_t database_id() const;
size_t default_order() const;
QKeySequence hotkey() const;
+ void set_hotkey(QKeySequence hk);
};
class ImageItemDelegate : public QAbstractItemDelegate