comparison hgtabwidget.h @ 153:70fe12873106

* Show both parents of uncommitted merge; fixes to right-button menus
author Chris Cannam
date Thu, 02 Dec 2010 17:55:21 +0000
parents 2b997861174b
children 6bcb4a4d6521
comparison
equal deleted inserted replaced
152:2b997861174b 153:70fe12873106
46 void addIncrementalLog(QString hgLogList); 46 void addIncrementalLog(QString hgLogList);
47 47
48 void setWorkFolderAndRepoNames(QString workFolderPath, QString remoteRepoPath); 48 void setWorkFolderAndRepoNames(QString workFolderPath, QString remoteRepoPath);
49 void setState(QString state); 49 void setState(QString state);
50 50
51 void setCurrent(QStringList ids); 51 void setCurrent(QStringList ids, QString branch);
52 52
53 FileStates getFileStates() { return m_fileStates; } 53 FileStates getFileStates() { return m_fileStates; }
54 54
55 bool canCommit() const; 55 bool canCommit() const;
56 bool canRevert() const; 56 bool canRevert() const;
85 void mergeFrom(QString id); 85 void mergeFrom(QString id);
86 void tag(QString id); 86 void tag(QString id);
87 87
88 public slots: 88 public slots:
89 void clearSelections(); 89 void clearSelections();
90 void showWorkTab();
91 void showHistoryTab();
90 92
91 private: 93 private:
92 FileStatusWidget *m_fileStatusWidget; 94 FileStatusWidget *m_fileStatusWidget;
93 HistoryWidget *m_historyWidget; 95 HistoryWidget *m_historyWidget;
94 FileStates m_fileStates; 96 FileStates m_fileStates;