aboutsummaryrefslogtreecommitdiff
path: root/qdeduper/imageitem.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'qdeduper/imageitem.hpp')
-rw-r--r--qdeduper/imageitem.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qdeduper/imageitem.hpp b/qdeduper/imageitem.hpp
index 5b1a1f3..abef719 100644
--- a/qdeduper/imageitem.hpp
+++ b/qdeduper/imageitem.hpp
@@ -41,6 +41,7 @@ private:
int vw = -1;
int hh = -1;
bool singlemode = false;
+ bool show_hotkey = true;
QAbstractItemModel *im = nullptr;
public:
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
@@ -51,6 +52,8 @@ public:
void set_single_item_mode(bool enabled);
bool is_single_item_mode();
+ void set_show_hotkey(bool show);
+
void set_model(QAbstractItemModel *m);
Q_SIGNALS:
void sizeHintChanged(const QModelIndex &index);