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; |