Mercurial > hg > easyhg
comparison src/changesetitem.h @ 510:c623ce6b3104
Refactor: make closed a changeset property (not a changeset item one)
author | Chris Cannam |
---|---|
date | Tue, 18 Oct 2011 11:30:00 +0100 |
parents | c43880dfdb78 |
children | 306a62fe851e |
comparison
equal
deleted
inserted
replaced
509:6f371814509d | 510:c623ce6b3104 |
---|---|
50 | 50 |
51 bool isCurrent() const { return m_current; } | 51 bool isCurrent() const { return m_current; } |
52 void setCurrent(bool c) { m_current = c; } | 52 void setCurrent(bool c) { m_current = c; } |
53 | 53 |
54 // Closed is true if this changeset is on a closed branch | 54 // Closed is true if this changeset is on a closed branch |
55 bool isClosed() const { return m_closed; } | 55 bool isClosed() const; |
56 void setClosed(bool c) { m_closed = c; } | |
57 | 56 |
58 // Closing is true if this changeset is the commit that closed its | 57 // Closing is true if this changeset is the commit that closed its |
59 // branch (i.e. is at the end of a closed branch) | 58 // branch (i.e. is at the end of a closed branch) |
60 bool isClosingCommit() const { return m_closing; } | 59 bool isClosingCommit() const { return m_closing; } |
61 void setClosingCommit(bool c) { m_closing = c; } | 60 void setClosingCommit(bool c) { m_closing = c; } |
105 bool m_showBranch; | 104 bool m_showBranch; |
106 int m_column; | 105 int m_column; |
107 int m_row; | 106 int m_row; |
108 bool m_wide; | 107 bool m_wide; |
109 bool m_current; | 108 bool m_current; |
110 bool m_closed; | |
111 bool m_closing; | 109 bool m_closing; |
112 bool m_new; | 110 bool m_new; |
113 | 111 |
114 QMap<QAction *, QString> m_parentDiffActions; | 112 QMap<QAction *, QString> m_parentDiffActions; |
115 QMap<QAction *, QString> m_summaryActions; | 113 QMap<QAction *, QString> m_summaryActions; |