diff filestatuswidget.h @ 93:dfb7a274b90f

* Highlight untracked files that are newer than last repo interaction
author Chris Cannam
date Wed, 24 Nov 2010 13:50:33 +0000
parents 06f4fffd5287
children 44ed7766d55a
line wrap: on
line diff
--- a/filestatuswidget.h	Wed Nov 24 13:23:30 2010 +0000
+++ b/filestatuswidget.h	Wed Nov 24 13:50:33 2010 +0000
@@ -24,6 +24,7 @@
 
 class QLabel;
 class QListWidget;
+class QFileInfo;
 
 class FileStatusWidget : public QWidget
 {
@@ -31,6 +32,7 @@
 
 public:
     FileStatusWidget(QWidget *parent = 0);
+    ~FileStatusWidget();
 
     QString localPath() const { return m_localPath; }
     void setLocalPath(QString p);
@@ -62,7 +64,10 @@
     QListWidget *m_removedList;
     QListWidget *m_missingList;
 
+    QFileInfo *m_dateReference;
+
     void updateWidgets();
+    void highlightFile(QListWidget *, int);
 };
 
 #endif