graphlistmodel.h 379 B

12345678910111213141516171819
  1. #ifndef GRAPHLISTMODEL_H
  2. #define GRAPHLISTMODEL_H
  3. #include <universallistmodel.h>
  4. #include <graphpoint.h>
  5. #include <QPointer>
  6. class GraphListModel : public UniversalListModel<GraphPoint>
  7. {
  8. Q_OBJECT
  9. public:
  10. GraphListModel(QObject* parent = 0);
  11. Q_INVOKABLE GraphPoint* at(int i) const {
  12. return UniversalListModel::at(i);
  13. }
  14. };
  15. #endif // GRAPHLISTMODEL_H