diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-03 16:48:59 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-03 16:49:56 -0700 |
commit | 1fec6453a2b7b6dcd34901a4e92dd11aae38879c (patch) | |
tree | a8d89da80007b58374662893ce09103a57f5d9ae /qt-ui/divepicturewidget.h | |
parent | 3e46b4862ab919981e098cd3a3cfc5c12e2fd6c3 (diff) | |
download | subsurface-1fec6453a2b7b6dcd34901a4e92dd11aae38879c.tar.gz |
Another futile attempt to keep whitespace consistent
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divepicturewidget.h')
-rw-r--r-- | qt-ui/divepicturewidget.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/divepicturewidget.h b/qt-ui/divepicturewidget.h index d66b3053f..92df82c5f 100644 --- a/qt-ui/divepicturewidget.h +++ b/qt-ui/divepicturewidget.h @@ -7,19 +7,20 @@ #include <QThread> struct picture; -struct PhotoHelper{ +struct PhotoHelper { QImage image; struct picture *picture; }; class DivePictureModel : public QAbstractTableModel { -Q_OBJECT + Q_OBJECT public: static DivePictureModel *instance(); 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: DivePictureModel(); int numberOfPictures; @@ -33,14 +34,13 @@ class DivePictureDelegate : QStyledItemDelegate { virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const; }; -class DivePictureWidget : public QListView{ +class DivePictureWidget : public QListView { Q_OBJECT public: DivePictureWidget(QWidget *parent); }; class DivePictureThumbnailThread : public QThread { - }; #endif
\ No newline at end of file |