summaryrefslogtreecommitdiffstats
path: root/profile-widget/divepixmapitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/divepixmapitem.h')
-rw-r--r--profile-widget/divepixmapitem.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/profile-widget/divepixmapitem.h b/profile-widget/divepixmapitem.h
index 545ecb2ae..44c5dd88e 100644
--- a/profile-widget/divepixmapitem.h
+++ b/profile-widget/divepixmapitem.h
@@ -19,6 +19,8 @@ class CloseButtonItem : public DivePixmapItem {
Q_OBJECT
public:
CloseButtonItem(QGraphicsItem *parent = 0);
+signals:
+ void clicked();
private:
void mousePressEvent(QGraphicsSceneMouseEvent *event) override;
};
@@ -30,10 +32,11 @@ public:
DivePictureItem(QGraphicsItem *parent = 0);
void setPixmap(const QPixmap& pix);
void setBaseZValue(double z);
+ void setFileUrl(const QString& s);
+signals:
+ void removePicture(const QString &fileUrl);
public slots:
void settingsChanged();
- void removePicture();
- void setFileUrl(const QString& s);
private:
void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);