aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/changeselectiondialog.h
diff options
context:
space:
mode:
authorPetar Perisin <petar.perisin@gmail.com>2013-03-30 03:31:42 +0100
committerPetar Perisin <petar.perisin@gmail.com>2013-04-04 19:16:50 +0200
commitb1c9d0eb3797136e84f130bf0a31182331230e87 (patch)
treed38200297e5a164944da20c597887d756d354f68 /src/plugins/git/changeselectiondialog.h
parent09b1cf78fd0c96c929176d360902ed13787e33be (diff)
Git: Added Checkout Commit
Change-Id: I9446060b9a8ee1717b832f1f7b7dbcaf8e739ad3 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/changeselectiondialog.h')
-rw-r--r--src/plugins/git/changeselectiondialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/git/changeselectiondialog.h b/src/plugins/git/changeselectiondialog.h
index 0f2e77e6ea9..a7a5fad38e7 100644
--- a/src/plugins/git/changeselectiondialog.h
+++ b/src/plugins/git/changeselectiondialog.h
@@ -46,6 +46,7 @@ namespace Internal {
enum ChangeCommand {
NoCommand,
+ Checkout,
CherryPick,
Revert,
Show
@@ -66,6 +67,7 @@ public:
private slots:
void setDetails(int exitCode);
void recalculateDetails(const QString &ref);
+ void acceptCheckout();
void acceptCherryPick();
void acceptRevert();
void acceptShow();
@@ -83,6 +85,7 @@ private:
QPushButton* m_showButton;
QPushButton* m_cherryPickButton;
QPushButton* m_revertButton;
+ QPushButton* m_checkoutButton;
QPushButton* m_cancelButton;
ChangeCommand m_command;