comparison historywidget.h @ 141:e6c6b88d19b9

* Start hooking up right-button menus on changeset & uncommitted items
author Chris Cannam
date Tue, 30 Nov 2010 17:56:11 +0000
parents 1208d9688a8f
children 644bd31e8301
comparison
equal deleted inserted replaced
140:bad40d7e7a2b 141:e6c6b88d19b9
40 40
41 void parseNewLog(QString log); 41 void parseNewLog(QString log);
42 void parseIncrementalLog(QString log); 42 void parseIncrementalLog(QString log);
43 43
44 bool haveNewItems() const { return !m_newIds.empty(); } 44 bool haveNewItems() const { return !m_newIds.empty(); }
45
46 signals:
47 void commit();
48 void revert();
49 void diffWorkingFolder();
50
51 void updateTo(QString id);
52 void diffToPrevious(QString id);
53 void diffToCurrent(QString id);
54 void mergeFrom(QString id);
55 void tag(QString id);
45 56
46 private: 57 private:
47 Changesets m_changesets; 58 Changesets m_changesets;
48 QStringList m_currentIds; 59 QStringList m_currentIds;
49 QSet<QString> m_newIds; 60 QSet<QString> m_newIds;
57 void replaceChangesets(Changesets); 68 void replaceChangesets(Changesets);
58 void addChangesets(Changesets); 69 void addChangesets(Changesets);
59 void layoutAll(); 70 void layoutAll();
60 void setChangesetParents(); 71 void setChangesetParents();
61 void updateNewAndCurrentItems(); 72 void updateNewAndCurrentItems();
73 void connectSceneSignals();
62 }; 74 };
63 75
64 #endif 76 #endif