mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
18 lines
426 B
C
18 lines
426 B
C
|
#ifndef DIVELOCATIONMODEL_H
|
||
|
#define DIVELOCATIONMODEL_H
|
||
|
|
||
|
#include <QAbstractListModel>
|
||
|
|
||
|
class LocationInformationModel : public QAbstractListModel {
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
LocationInformationModel(QObject *obj = 0);
|
||
|
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||
|
QVariant data(const QModelIndex &index = QModelIndex(), int role = Qt::DisplayRole) const;
|
||
|
void update();
|
||
|
private:
|
||
|
int internalRowCount;
|
||
|
};
|
||
|
|
||
|
#endif
|