src/ldDocument.h

changeset 1101
6ac6a8838f29
parent 1098
0b837bed121d
child 1102
c73f9d2e8b85
equal deleted inserted replaced
1100:9b2797729c82 1101:6ac6a8838f29
55 55
56 LDDocument (DocumentManager* parent); 56 LDDocument (DocumentManager* parent);
57 ~LDDocument(); 57 ~LDDocument();
58 58
59 void addHistoryStep(); 59 void addHistoryStep();
60 void addObjects (const LDObjectList& objs);
61 void addToHistory (AbstractHistoryEntry* entry); 60 void addToHistory (AbstractHistoryEntry* entry);
62 void addToSelection (LDObject* obj); 61 void addToSelection (LDObject* obj);
63 void clearHistory(); 62 void clearHistory();
64 void clearSelection(); 63 void clearSelection();
65 void close(); 64 void close();
66 QString defaultName() const; 65 QString defaultName() const;
67 void forgetObject (LDObject* obj);
68 QString fullPath(); 66 QString fullPath();
69 QString getDisplayName(); 67 QString getDisplayName();
70 const QSet<LDObject*>& getSelection() const; 68 const QSet<LDObject*>& getSelection() const;
71 bool hasUnsavedChanges() const; 69 bool hasUnsavedChanges() const;
72 EditHistory* history() const; 70 EditHistory* history() const;

mercurial