// #ifndef MAPDATAMODEL_H // #define MAPDATAMODEL_H // #include // #include // #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 mDatas; // }; // #endif // MAPDATAMODEL_H