diff mainwindow.h @ 120:c92f5859c707

* Add incremental log (though not incremental relayout)
author Chris Cannam
date Mon, 29 Nov 2010 11:01:19 +0000
parents 4bd17f36d059
children 63c2f3f61c79
line wrap: on
line diff
--- a/mainwindow.h	Sun Nov 28 21:52:00 2010 +0000
+++ b/mainwindow.h	Mon Nov 29 11:01:19 2010 +0000
@@ -49,13 +49,13 @@
     QString currentBranch;
     Changesets currentHeads;
     Changesets currentParents;
+    bool needNewLog;
 
 protected:
     void closeEvent(QCloseEvent *event);
 
 public slots:
-    void hgQueryPaths();
-    void hgStat();
+    void hgRefresh();
     void commandCompleted(HgAction action, QString stdout);
     void commandFailed(HgAction action, QString stdout);
     void enableDisableActions();
@@ -67,6 +67,8 @@
     void startupDialog();
     void clearSelections();
 
+    void hgQueryPaths();
+    void hgStat();
     void hgRemove();
     void hgAdd();
     void hgCommit();
@@ -98,6 +100,7 @@
     void hgQueryHeads();
     void hgQueryParents();
     void hgLog();
+    void hgLogIncremental();
     void createActions();
     void connectActions();
     void createMenus();
@@ -129,6 +132,12 @@
     bool askToOpenParentRepo(QString, QString);
     bool askToOpenInsteadOfInit(QString);
 
+    void showIncoming(QString);
+    void showPullResult(QString);
+    void showPushResult(QString);
+
+    void clearState();
+
     void updateFileSystemWatcher();
 
     bool firstStart;
@@ -148,7 +157,7 @@
     QAction *hgIncomingAct;
     QAction *hgPushAct;
     QAction *hgPullAct;
-    QAction *hgStatAct;
+    QAction *hgRefreshAct;
     QAction *hgFileDiffAct;
     QAction *hgFolderDiffAct;
     QAction *hgChgSetDiffAct;