diff mainwindow.h @ 34:43e3b271d293 Version_0.5.2.

Version 0.5.2. Added hg tag, .hgignore editing.
author Jari Korhonen <jtkorhonen@gmail.com>
date Sat, 19 Jun 2010 02:01:36 +0300
parents ff8d64625aa3
children 5986d0758069
line wrap: on
line diff
--- a/mainwindow.h	Sat Jun 19 00:23:09 2010 +0300
+++ b/mainwindow.h	Sat Jun 19 02:01:36 2010 +0300
@@ -42,6 +42,7 @@
     ACT_SERVE,
     ACT_RESOLVE_MARK,
     ACT_RETRY_MERGE,
+    ACT_TAG,
 };
 
 
@@ -97,7 +98,9 @@
     void hgAnnotate();
     void hgResolveList();
     void hgResolveMark();
+    void hgTag();
     void hgServe();
+    void hgIgnore();
 
 private:
     void hgHeads();
@@ -110,7 +113,7 @@
     void createStatusBar();
     void readSettings();
     void splitChangeSets(QStringList *list, QString hgLogOutput);
-    int getCommitComment(QString& comment);
+    int getCommentOrTag(QString& commentOrTag, QString question, QString dlgTitle);
     void presentLongStdoutToUser(QString stdo);
     void countModifications(QListWidget *workList, int& added, int& modified, int& removed, int& notTracked,
         int& selected,
@@ -120,7 +123,7 @@
     bool isSelectedDeletable(QListWidget *workList);
     bool areAllSelectedCommitable(QListWidget *workList);
     QString listAllUpIpV4Addresses();
-
+    QString filterTag(QString tag);
 
     //Actions enabled flags
     bool remoteRepoActionsEnabled;
@@ -151,6 +154,8 @@
     QAction *hgAnnotateAct;
     QAction *hgResolveListAct;
     QAction *hgResolveMarkAct;
+    QAction *hgTagAct;
+    QAction *hgIgnoreAct;
     QAction *hgServeAct;
 
     //Menus