diff options
Diffstat (limited to 'qt-ui/profile/divepixmapitem.h')
-rw-r--r-- | qt-ui/profile/divepixmapitem.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qt-ui/profile/divepixmapitem.h b/qt-ui/profile/divepixmapitem.h index b5bed37ce..d39f26db6 100644 --- a/qt-ui/profile/divepixmapitem.h +++ b/qt-ui/profile/divepixmapitem.h @@ -18,17 +18,18 @@ class DivePictureItem : public DivePixmapItem { Q_OBJECT Q_PROPERTY(qreal scale WRITE setScale READ scale) public: - DivePictureItem(int row, QObject *parent = 0); + DivePictureItem(QObject *parent = 0); void setPixmap(const QPixmap& pix); public slots: void settingsChanged(); void removePicture(); + void setFileUrl(const QString& s); protected: void hoverEnterEvent(QGraphicsSceneHoverEvent *event); void hoverLeaveEvent(QGraphicsSceneHoverEvent *event); void mousePressEvent(QGraphicsSceneMouseEvent *event); private: - int rowOnModel; + QString fileUrl; }; class DiveButtonItem : public DivePixmapItem { |