comparison changesetscene.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 005a54380502
children 2fef6b0dfbe8
comparison
equal deleted inserted replaced
140:bad40d7e7a2b 141:e6c6b88d19b9
19 #define CHANGESETSCENE_H 19 #define CHANGESETSCENE_H
20 20
21 #include <QGraphicsScene> 21 #include <QGraphicsScene>
22 22
23 class ChangesetItem; 23 class ChangesetItem;
24 class UncommittedItem;
24 25
25 class ChangesetScene : public QGraphicsScene 26 class ChangesetScene : public QGraphicsScene
26 { 27 {
27 Q_OBJECT 28 Q_OBJECT
28 29
29 public: 30 public:
30 ChangesetScene(); 31 ChangesetScene();
32
33 void addChangesetItem(ChangesetItem *item);
34 void addUncommittedItem(UncommittedItem *item);
35
36 signals:
37 void commit();
38 void revert();
39 void diffWorkingFolder();
40
41 void updateTo(QString id);
42 void diffToPrevious(QString id);
43 void diffToCurrent(QString id);
44 void mergeFrom(QString id);
45 void tag(QString id);
31 46
32 public slots: 47 public slots:
33 void changesetDetailShown(); 48 void changesetDetailShown();
34 49
35 private: 50 private: