diff filestatuswidget.h @ 106:729438d70af8

* Retrieve and store current branch and heads; some refactoring
author Chris Cannam
date Thu, 25 Nov 2010 17:54:35 +0000
parents 0bd32aedc6f6
children 1721c580c10e
line wrap: on
line diff
--- a/filestatuswidget.h	Thu Nov 25 17:21:32 2010 +0000
+++ b/filestatuswidget.h	Thu Nov 25 17:54:35 2010 +0000
@@ -40,6 +40,9 @@
     QString remoteURL() const { return m_remoteURL; }
     void setRemoteURL(QString u);
 
+    QString branch() const { return m_branch; }
+    void setBranch(QString b);
+
     FileStates fileStates() const { return m_fileStates; }
     void setFileStates(FileStates sp);
 
@@ -72,7 +75,10 @@
 
     QString m_remoteURL;
     QLabel *m_remoteURLLabel;
-    
+
+    QString m_branch;
+    QLabel *m_branchLabel;
+
     FileStates m_fileStates;
     QMap<FileStates::State, QString> m_simpleLabels;
     QMap<FileStates::State, QString> m_descriptions;