src/model.h

changeset 1277
821c30615069
parent 1273
900f1dfae46b
child 1278
6e1ea24e5a5e
equal deleted inserted replaced
1276:cae7b4f660c5 1277:821c30615069
76 class Model : public QAbstractListModel 76 class Model : public QAbstractListModel
77 { 77 {
78 Q_OBJECT 78 Q_OBJECT
79 79
80 public: 80 public:
81 enum
82 {
83 ObjectIdRole = Qt::UserRole,
84 };
85
86 Model(class DocumentManager* manager); 81 Model(class DocumentManager* manager);
87 Model(const Model& other) = delete; 82 Model(const Model& other) = delete;
88 ~Model(); 83 ~Model();
89 84
90 void insertCopy(int position, LDObject* object); 85 void insertCopy(int position, LDObject* object);

mercurial