comparison mainwindow.h @ 64:794db9353c7f

* Start rejigging the settings/repo-path dialog setup: startup dialog now asks for user name and email only
author Chris Cannam
date Wed, 17 Nov 2010 17:49:16 +0000
parents 2340b00561d2
children 6d5a5571caec
comparison
equal deleted inserted replaced
63:2340b00561d2 64:794db9353c7f
74 //Paths to remote repo & workfolder 74 //Paths to remote repo & workfolder
75 //Local repo is directory "./hg/" under work folder 75 //Local repo is directory "./hg/" under work folder
76 QString remoteRepoPath; 76 QString remoteRepoPath;
77 QString workFolderPath; 77 QString workFolderPath;
78 78
79 //User info for commits
80 QString userInfo;
81 bool firstStart;
82
83 protected: 79 protected:
84 void closeEvent(QCloseEvent *event); 80 void closeEvent(QCloseEvent *event);
85 81
86 public slots: 82 public slots:
87 void hgStat(); 83 void hgStat();
89 void commandCompleted(); 85 void commandCompleted();
90 void commandFailed(); 86 void commandFailed();
91 87
92 private slots: 88 private slots:
93 void about(); 89 void about();
90 void settings();
91 void startupDialog();
92
94 void hgRemove(); 93 void hgRemove();
95 void hgAdd(); 94 void hgAdd();
96 void hgCommit(); 95 void hgCommit();
97 void hgFileDiff(); 96 void hgFileDiff();
98 void hgFolderDiff(); 97 void hgFolderDiff();
99 void hgChgSetDiff(); 98 void hgChgSetDiff();
100 void hgUpdate(); 99 void hgUpdate();
101 void hgRevert(); 100 void hgRevert();
102 void hgMerge(); 101 void hgMerge();
103 void hgRetryMerge(); 102 void hgRetryMerge();
104 void settings();
105 void hgCloneFromRemote(); 103 void hgCloneFromRemote();
106 void hgInit(); 104 void hgInit();
107 void hgIncoming(); 105 void hgIncoming();
108 void hgPush(); 106 void hgPush();
109 void hgPull(); 107 void hgPull();
135 bool areAllSelectedUntracked(QListWidget *workList); 133 bool areAllSelectedUntracked(QListWidget *workList);
136 bool isSelectedDeletable(QListWidget *workList); 134 bool isSelectedDeletable(QListWidget *workList);
137 bool areAllSelectedCommitable(QListWidget *workList); 135 bool areAllSelectedCommitable(QListWidget *workList);
138 QString listAllUpIpV4Addresses(); 136 QString listAllUpIpV4Addresses();
139 QString filterTag(QString tag); 137 QString filterTag(QString tag);
138
139 QString getUserInfo() const;
140
141 bool firstStart;
140 142
141 //Actions enabled flags 143 //Actions enabled flags
142 bool remoteRepoActionsEnabled; 144 bool remoteRepoActionsEnabled;
143 bool localRepoActionsEnabled; 145 bool localRepoActionsEnabled;
144 146