23 lines
576 B
C
23 lines
576 B
C
// #ifndef MAPDATAMODEL_H
|
|
// #define MAPDATAMODEL_H
|
|
|
|
// #include <QAbstractItemModel >
|
|
// #include <QObject>
|
|
// #include "../data/mapdata.h"
|
|
|
|
// class MapDataModel : public QAbstractItemModel
|
|
// {
|
|
// Q_OBJECT
|
|
// public:
|
|
// MapDataModel(QObject * parent = 0);
|
|
// int rowCount(const QModelIndex& parent = QModelIndex()) const;
|
|
// int columnCount(const QModelIndex& parent = QModelIndex()) const;
|
|
// QVariant data(const QModelIndex &index, int role) const;
|
|
// void populate();
|
|
|
|
// private:
|
|
// QList<MapData> mDatas;
|
|
// };
|
|
|
|
// #endif // MAPDATAMODEL_H
|