comparison hgtabwidget.cpp @ 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 addTab(m_fileStatusWidget, tr("My work")); 40 addTab(m_fileStatusWidget, tr("My work"));
41 41
42 // History graph page 42 // History graph page
43 m_historyWidget = new HistoryWidget; 43 m_historyWidget = new HistoryWidget;
44 addTab(m_historyWidget, tr("History")); 44 addTab(m_historyWidget, tr("History"));
45
46 connect(m_historyWidget, SIGNAL(commit()),
47 this, SIGNAL(commit()));
48
49 connect(m_historyWidget, SIGNAL(revert()),
50 this, SIGNAL(revert()));
51
52 connect(m_historyWidget, SIGNAL(diffWorkingFolder()),
53 this, SIGNAL(diffWorkingFolder()));
54
55 connect(m_historyWidget, SIGNAL(updateTo(QString)),
56 this, SIGNAL(updateTo(QString)));
57
58 connect(m_historyWidget, SIGNAL(diffToCurrent(QString)),
59 this, SIGNAL(diffToCurrent(QString)));
60
61 connect(m_historyWidget, SIGNAL(diffToPrevious(QString)),
62 this, SIGNAL(diffToPrevious(QString)));
63
64 connect(m_historyWidget, SIGNAL(mergeFrom(QString)),
65 this, SIGNAL(mergeFrom(QString)));
66
67 connect(m_historyWidget, SIGNAL(tag(QString)),
68 this, SIGNAL(tag(QString)));
45 } 69 }
46 70
47 void HgTabWidget::clearSelections() 71 void HgTabWidget::clearSelections()
48 { 72 {
49 m_fileStatusWidget->clearSelections(); 73 m_fileStatusWidget->clearSelections();