diff options
Diffstat (limited to 'qt-ui/divepicturewidget.h')
-rw-r--r-- | qt-ui/divepicturewidget.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/divepicturewidget.h b/qt-ui/divepicturewidget.h index 7761db32b..062e225d7 100644 --- a/qt-ui/divepicturewidget.h +++ b/qt-ui/divepicturewidget.h @@ -7,9 +7,15 @@ #include <QThread> class DivePictureModel : QAbstractTableModel { +Q_OBJECT +public: + DivePictureModel(QObject *parent); virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; virtual int rowCount(const QModelIndex &parent = QModelIndex()) const; + void updateDivePictures(int divenr); +private: + int numberOfPictures; }; class DivePictureDelegate : QStyledItemDelegate { |