38 class AbstractHistoryEntry; |
38 class AbstractHistoryEntry; |
39 |
39 |
40 // ============================================================================= |
40 // ============================================================================= |
41 class History |
41 class History |
42 { |
42 { |
43 PROPERTY (private, int, position, setPosition, STOCK_WRITE) |
43 PROPERTY (private, int, position, setPosition, STOCK_WRITE) |
44 PROPERTY (public, LDDocument*, document, setDocument, STOCK_WRITE) |
44 PROPERTY (public, LDDocumentWeakPtr, document, setDocument, STOCK_WRITE) |
45 PROPERTY (public, bool, isIgnoring, setIgnoring, STOCK_WRITE) |
45 PROPERTY (public, bool, isIgnoring, setIgnoring, STOCK_WRITE) |
46 |
46 |
47 public: |
47 public: |
48 typedef QList<AbstractHistoryEntry*> Changeset; |
48 typedef QList<AbstractHistoryEntry*> Changeset; |
49 |
49 |
50 enum EHistoryType |
50 enum EHistoryType |