|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.ProjectHelper</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.ProjectHelper</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing the queues extension project helper. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#QueuesProjectHelper">QueuesProjectHelper</a></td> |
|
39 <td>Class implementing the queues extension project helper.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="QueuesProjectHelper" ID="QueuesProjectHelper"></a> |
|
50 <h2>QueuesProjectHelper</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing the queues extension project helper. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 HgExtensionProjectHelper |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#QueuesProjectHelper.__init__">QueuesProjectHelper</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#QueuesProjectHelper.__hgQueueActivateQueue">__hgQueueActivateQueue</a></td> |
|
77 <td>Private slot used to set the active queue.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#QueuesProjectHelper.__hgQueueCommit">__hgQueueCommit</a></td> |
|
81 <td>Private slot to commit changes in the queue repository.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#QueuesProjectHelper.__hgQueueCreateQueue">__hgQueueCreateQueue</a></td> |
|
85 <td>Private slot used to create a new queue.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#QueuesProjectHelper.__hgQueueDeletePatch">__hgQueueDeletePatch</a></td> |
|
89 <td>Private slot used to delete a patch.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#QueuesProjectHelper.__hgQueueDeleteQueue">__hgQueueDeleteQueue</a></td> |
|
93 <td>Private slot used to delete the reference to a queue.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#QueuesProjectHelper.__hgQueueFinishAppliedPatches">__hgQueueFinishAppliedPatches</a></td> |
|
97 <td>Private slot used to finish all applied patches.</td> |
|
98 </tr> |
|
99 <tr> |
|
100 <td><a href="#QueuesProjectHelper.__hgQueueFoldUnappliedPatches">__hgQueueFoldUnappliedPatches</a></td> |
|
101 <td>Private slot used to fold patches into the current patch.</td> |
|
102 </tr> |
|
103 <tr> |
|
104 <td><a href="#QueuesProjectHelper.__hgQueueGotoPatch">__hgQueueGotoPatch</a></td> |
|
105 <td>Private slot used to push or pop patches until the a named one is at the top of the stack.</td> |
|
106 </tr> |
|
107 <tr> |
|
108 <td><a href="#QueuesProjectHelper.__hgQueueGotoPatchForced">__hgQueueGotoPatchForced</a></td> |
|
109 <td>Private slot used to push or pop patches until the a named one is at the top of the stack overwriting local changes.</td> |
|
110 </tr> |
|
111 <tr> |
|
112 <td><a href="#QueuesProjectHelper.__hgQueueGuardsDeactivate">__hgQueueGuardsDeactivate</a></td> |
|
113 <td>Private slot used to deactivate all active guards.</td> |
|
114 </tr> |
|
115 <tr> |
|
116 <td><a href="#QueuesProjectHelper.__hgQueueGuardsDefine">__hgQueueGuardsDefine</a></td> |
|
117 <td>Private slot used to define guards for the current or a named patch.</td> |
|
118 </tr> |
|
119 <tr> |
|
120 <td><a href="#QueuesProjectHelper.__hgQueueGuardsDropAll">__hgQueueGuardsDropAll</a></td> |
|
121 <td>Private slot used to drop all guards of the current or a named patch.</td> |
|
122 </tr> |
|
123 <tr> |
|
124 <td><a href="#QueuesProjectHelper.__hgQueueGuardsIdentifyActive">__hgQueueGuardsIdentifyActive</a></td> |
|
125 <td>Private slot used to list all active guards.</td> |
|
126 </tr> |
|
127 <tr> |
|
128 <td><a href="#QueuesProjectHelper.__hgQueueGuardsList">__hgQueueGuardsList</a></td> |
|
129 <td>Private slot used to list the guards for the current or a named patch.</td> |
|
130 </tr> |
|
131 <tr> |
|
132 <td><a href="#QueuesProjectHelper.__hgQueueGuardsListAll">__hgQueueGuardsListAll</a></td> |
|
133 <td>Private slot used to list all guards of all patches.</td> |
|
134 </tr> |
|
135 <tr> |
|
136 <td><a href="#QueuesProjectHelper.__hgQueueGuardsSetActive">__hgQueueGuardsSetActive</a></td> |
|
137 <td>Private slot used to set the active guards.</td> |
|
138 </tr> |
|
139 <tr> |
|
140 <td><a href="#QueuesProjectHelper.__hgQueueInit">__hgQueueInit</a></td> |
|
141 <td>Private slot to initialize a new queue repository.</td> |
|
142 </tr> |
|
143 <tr> |
|
144 <td><a href="#QueuesProjectHelper.__hgQueueListPatches">__hgQueueListPatches</a></td> |
|
145 <td>Private slot used to show a list of applied and unapplied patches.</td> |
|
146 </tr> |
|
147 <tr> |
|
148 <td><a href="#QueuesProjectHelper.__hgQueueListQueues">__hgQueueListQueues</a></td> |
|
149 <td>Private slot used to list available queues.</td> |
|
150 </tr> |
|
151 <tr> |
|
152 <td><a href="#QueuesProjectHelper.__hgQueueNewPatch">__hgQueueNewPatch</a></td> |
|
153 <td>Private slot used to create a new named patch.</td> |
|
154 </tr> |
|
155 <tr> |
|
156 <td><a href="#QueuesProjectHelper.__hgQueuePopAllPatches">__hgQueuePopAllPatches</a></td> |
|
157 <td>Private slot used to pop all patches off the stack.</td> |
|
158 </tr> |
|
159 <tr> |
|
160 <td><a href="#QueuesProjectHelper.__hgQueuePopAllPatchesForced">__hgQueuePopAllPatchesForced</a></td> |
|
161 <td>Private slot used to pop all patches off the stack forgetting any local changes to patched files.</td> |
|
162 </tr> |
|
163 <tr> |
|
164 <td><a href="#QueuesProjectHelper.__hgQueuePopPatch">__hgQueuePopPatch</a></td> |
|
165 <td>Private slot used to pop the current patch off the stack.</td> |
|
166 </tr> |
|
167 <tr> |
|
168 <td><a href="#QueuesProjectHelper.__hgQueuePopPatchForced">__hgQueuePopPatchForced</a></td> |
|
169 <td>Private slot used to pop the current patch off the stack forgetting any local changes to patched files.</td> |
|
170 </tr> |
|
171 <tr> |
|
172 <td><a href="#QueuesProjectHelper.__hgQueuePopPatches">__hgQueuePopPatches</a></td> |
|
173 <td>Private slot used to pop patches off the stack until a named one is at the top.</td> |
|
174 </tr> |
|
175 <tr> |
|
176 <td><a href="#QueuesProjectHelper.__hgQueuePopPatchesForced">__hgQueuePopPatchesForced</a></td> |
|
177 <td>Private slot used to pop patches off the stack until a named one is at the top forgetting any local changes to patched files.</td> |
|
178 </tr> |
|
179 <tr> |
|
180 <td><a href="#QueuesProjectHelper.__hgQueuePurgeQueue">__hgQueuePurgeQueue</a></td> |
|
181 <td>Private slot used to delete the reference to a queue and remove the patch directory.</td> |
|
182 </tr> |
|
183 <tr> |
|
184 <td><a href="#QueuesProjectHelper.__hgQueuePushAllPatches">__hgQueuePushAllPatches</a></td> |
|
185 <td>Private slot used to push all patches onto the stack.</td> |
|
186 </tr> |
|
187 <tr> |
|
188 <td><a href="#QueuesProjectHelper.__hgQueuePushAllPatchesForced">__hgQueuePushAllPatchesForced</a></td> |
|
189 <td>Private slot used to push all patches onto the stack on top of local changes.</td> |
|
190 </tr> |
|
191 <tr> |
|
192 <td><a href="#QueuesProjectHelper.__hgQueuePushPatch">__hgQueuePushPatch</a></td> |
|
193 <td>Private slot used to push the next patch onto the stack.</td> |
|
194 </tr> |
|
195 <tr> |
|
196 <td><a href="#QueuesProjectHelper.__hgQueuePushPatchForced">__hgQueuePushPatchForced</a></td> |
|
197 <td>Private slot used to push the next patch onto the stack on top of local changes.</td> |
|
198 </tr> |
|
199 <tr> |
|
200 <td><a href="#QueuesProjectHelper.__hgQueuePushPatches">__hgQueuePushPatches</a></td> |
|
201 <td>Private slot used to push patches onto the stack until a named one is at the top.</td> |
|
202 </tr> |
|
203 <tr> |
|
204 <td><a href="#QueuesProjectHelper.__hgQueuePushPatchesForced">__hgQueuePushPatchesForced</a></td> |
|
205 <td>Private slot used to push patches onto the stack until a named one is at the top on top of local changes.</td> |
|
206 </tr> |
|
207 <tr> |
|
208 <td><a href="#QueuesProjectHelper.__hgQueuePushPopPatches">__hgQueuePushPopPatches</a></td> |
|
209 <td>Private method to push patches onto the stack or pop patches off the stack.</td> |
|
210 </tr> |
|
211 <tr> |
|
212 <td><a href="#QueuesProjectHelper.__hgQueueRefreshPatch">__hgQueueRefreshPatch</a></td> |
|
213 <td>Private slot used to refresh the current patch.</td> |
|
214 </tr> |
|
215 <tr> |
|
216 <td><a href="#QueuesProjectHelper.__hgQueueRefreshPatchMessage">__hgQueueRefreshPatchMessage</a></td> |
|
217 <td>Private slot used to refresh the current patch and its commit message.</td> |
|
218 </tr> |
|
219 <tr> |
|
220 <td><a href="#QueuesProjectHelper.__hgQueueRenamePatch">__hgQueueRenamePatch</a></td> |
|
221 <td>Private slot used to rename a patch.</td> |
|
222 </tr> |
|
223 <tr> |
|
224 <td><a href="#QueuesProjectHelper.__hgQueueRenameQueue">__hgQueueRenameQueue</a></td> |
|
225 <td>Private slot used to rename the active queue.</td> |
|
226 </tr> |
|
227 <tr> |
|
228 <td><a href="#QueuesProjectHelper.__hgQueueShowHeader">__hgQueueShowHeader</a></td> |
|
229 <td>Private slot used to show the commit message of the current patch.</td> |
|
230 </tr> |
|
231 <tr> |
|
232 <td><a href="#QueuesProjectHelper.__hgQueueShowPatch">__hgQueueShowPatch</a></td> |
|
233 <td>Private slot used to show the contents of the current patch.</td> |
|
234 </tr> |
|
235 <tr> |
|
236 <td><a href="#QueuesProjectHelper.__hgQueueStatus">__hgQueueStatus</a></td> |
|
237 <td>Private slot to show the status of the queue repository.</td> |
|
238 </tr> |
|
239 <tr> |
|
240 <td><a href="#QueuesProjectHelper.__hgQueueSummary">__hgQueueSummary</a></td> |
|
241 <td>Private slot to show a summary of the queue repository.</td> |
|
242 </tr> |
|
243 <tr> |
|
244 <td><a href="#QueuesProjectHelper.__initGuardsActions">__initGuardsActions</a></td> |
|
245 <td>Private method to generate the guards action objects.</td> |
|
246 </tr> |
|
247 <tr> |
|
248 <td><a href="#QueuesProjectHelper.__initPushPopActions">__initPushPopActions</a></td> |
|
249 <td>Private method to generate the push and pop action objects.</td> |
|
250 </tr> |
|
251 <tr> |
|
252 <td><a href="#QueuesProjectHelper.__initPushPopForceActions">__initPushPopForceActions</a></td> |
|
253 <td>Private method to generate the push and pop (force) action objects.</td> |
|
254 </tr> |
|
255 <tr> |
|
256 <td><a href="#QueuesProjectHelper.__initQueuesMgmtActions">__initQueuesMgmtActions</a></td> |
|
257 <td>Private method to generate the queues management action objects.</td> |
|
258 </tr> |
|
259 <tr> |
|
260 <td><a href="#QueuesProjectHelper.initActions">initActions</a></td> |
|
261 <td>Public method to generate the action objects.</td> |
|
262 </tr> |
|
263 <tr> |
|
264 <td><a href="#QueuesProjectHelper.initMenu">initMenu</a></td> |
|
265 <td>Public method to generate the extension menu.</td> |
|
266 </tr> |
|
267 <tr> |
|
268 <td><a href="#QueuesProjectHelper.menuTitle">menuTitle</a></td> |
|
269 <td>Public method to get the menu title.</td> |
|
270 </tr> |
|
271 </table> |
|
272 <h3>Static Methods</h3> |
|
273 |
|
274 <table> |
|
275 <tr><td>None</td></tr> |
|
276 </table> |
|
277 |
|
278 <a NAME="QueuesProjectHelper.__init__" ID="QueuesProjectHelper.__init__"></a> |
|
279 <h4>QueuesProjectHelper (Constructor)</h4> |
|
280 <b>QueuesProjectHelper</b>(<i></i>) |
|
281 |
|
282 <p> |
|
283 Constructor |
|
284 </p> |
|
285 <a NAME="QueuesProjectHelper.__hgQueueActivateQueue" ID="QueuesProjectHelper.__hgQueueActivateQueue"></a> |
|
286 <h4>QueuesProjectHelper.__hgQueueActivateQueue</h4> |
|
287 <b>__hgQueueActivateQueue</b>(<i></i>) |
|
288 |
|
289 <p> |
|
290 Private slot used to set the active queue. |
|
291 </p> |
|
292 <a NAME="QueuesProjectHelper.__hgQueueCommit" ID="QueuesProjectHelper.__hgQueueCommit"></a> |
|
293 <h4>QueuesProjectHelper.__hgQueueCommit</h4> |
|
294 <b>__hgQueueCommit</b>(<i></i>) |
|
295 |
|
296 <p> |
|
297 Private slot to commit changes in the queue repository. |
|
298 </p> |
|
299 <a NAME="QueuesProjectHelper.__hgQueueCreateQueue" ID="QueuesProjectHelper.__hgQueueCreateQueue"></a> |
|
300 <h4>QueuesProjectHelper.__hgQueueCreateQueue</h4> |
|
301 <b>__hgQueueCreateQueue</b>(<i></i>) |
|
302 |
|
303 <p> |
|
304 Private slot used to create a new queue. |
|
305 </p> |
|
306 <a NAME="QueuesProjectHelper.__hgQueueDeletePatch" ID="QueuesProjectHelper.__hgQueueDeletePatch"></a> |
|
307 <h4>QueuesProjectHelper.__hgQueueDeletePatch</h4> |
|
308 <b>__hgQueueDeletePatch</b>(<i></i>) |
|
309 |
|
310 <p> |
|
311 Private slot used to delete a patch. |
|
312 </p> |
|
313 <a NAME="QueuesProjectHelper.__hgQueueDeleteQueue" ID="QueuesProjectHelper.__hgQueueDeleteQueue"></a> |
|
314 <h4>QueuesProjectHelper.__hgQueueDeleteQueue</h4> |
|
315 <b>__hgQueueDeleteQueue</b>(<i></i>) |
|
316 |
|
317 <p> |
|
318 Private slot used to delete the reference to a queue. |
|
319 </p> |
|
320 <a NAME="QueuesProjectHelper.__hgQueueFinishAppliedPatches" ID="QueuesProjectHelper.__hgQueueFinishAppliedPatches"></a> |
|
321 <h4>QueuesProjectHelper.__hgQueueFinishAppliedPatches</h4> |
|
322 <b>__hgQueueFinishAppliedPatches</b>(<i></i>) |
|
323 |
|
324 <p> |
|
325 Private slot used to finish all applied patches. |
|
326 </p> |
|
327 <a NAME="QueuesProjectHelper.__hgQueueFoldUnappliedPatches" ID="QueuesProjectHelper.__hgQueueFoldUnappliedPatches"></a> |
|
328 <h4>QueuesProjectHelper.__hgQueueFoldUnappliedPatches</h4> |
|
329 <b>__hgQueueFoldUnappliedPatches</b>(<i></i>) |
|
330 |
|
331 <p> |
|
332 Private slot used to fold patches into the current patch. |
|
333 </p> |
|
334 <a NAME="QueuesProjectHelper.__hgQueueGotoPatch" ID="QueuesProjectHelper.__hgQueueGotoPatch"></a> |
|
335 <h4>QueuesProjectHelper.__hgQueueGotoPatch</h4> |
|
336 <b>__hgQueueGotoPatch</b>(<i></i>) |
|
337 |
|
338 <p> |
|
339 Private slot used to push or pop patches until the a named one |
|
340 is at the top of the stack. |
|
341 </p> |
|
342 <a NAME="QueuesProjectHelper.__hgQueueGotoPatchForced" ID="QueuesProjectHelper.__hgQueueGotoPatchForced"></a> |
|
343 <h4>QueuesProjectHelper.__hgQueueGotoPatchForced</h4> |
|
344 <b>__hgQueueGotoPatchForced</b>(<i></i>) |
|
345 |
|
346 <p> |
|
347 Private slot used to push or pop patches until the a named one |
|
348 is at the top of the stack overwriting local changes. |
|
349 </p> |
|
350 <a NAME="QueuesProjectHelper.__hgQueueGuardsDeactivate" ID="QueuesProjectHelper.__hgQueueGuardsDeactivate"></a> |
|
351 <h4>QueuesProjectHelper.__hgQueueGuardsDeactivate</h4> |
|
352 <b>__hgQueueGuardsDeactivate</b>(<i></i>) |
|
353 |
|
354 <p> |
|
355 Private slot used to deactivate all active guards. |
|
356 </p> |
|
357 <a NAME="QueuesProjectHelper.__hgQueueGuardsDefine" ID="QueuesProjectHelper.__hgQueueGuardsDefine"></a> |
|
358 <h4>QueuesProjectHelper.__hgQueueGuardsDefine</h4> |
|
359 <b>__hgQueueGuardsDefine</b>(<i></i>) |
|
360 |
|
361 <p> |
|
362 Private slot used to define guards for the current or a named patch. |
|
363 </p> |
|
364 <a NAME="QueuesProjectHelper.__hgQueueGuardsDropAll" ID="QueuesProjectHelper.__hgQueueGuardsDropAll"></a> |
|
365 <h4>QueuesProjectHelper.__hgQueueGuardsDropAll</h4> |
|
366 <b>__hgQueueGuardsDropAll</b>(<i></i>) |
|
367 |
|
368 <p> |
|
369 Private slot used to drop all guards of the current or a named patch. |
|
370 </p> |
|
371 <a NAME="QueuesProjectHelper.__hgQueueGuardsIdentifyActive" ID="QueuesProjectHelper.__hgQueueGuardsIdentifyActive"></a> |
|
372 <h4>QueuesProjectHelper.__hgQueueGuardsIdentifyActive</h4> |
|
373 <b>__hgQueueGuardsIdentifyActive</b>(<i></i>) |
|
374 |
|
375 <p> |
|
376 Private slot used to list all active guards. |
|
377 </p> |
|
378 <a NAME="QueuesProjectHelper.__hgQueueGuardsList" ID="QueuesProjectHelper.__hgQueueGuardsList"></a> |
|
379 <h4>QueuesProjectHelper.__hgQueueGuardsList</h4> |
|
380 <b>__hgQueueGuardsList</b>(<i></i>) |
|
381 |
|
382 <p> |
|
383 Private slot used to list the guards for the current or a named patch. |
|
384 </p> |
|
385 <a NAME="QueuesProjectHelper.__hgQueueGuardsListAll" ID="QueuesProjectHelper.__hgQueueGuardsListAll"></a> |
|
386 <h4>QueuesProjectHelper.__hgQueueGuardsListAll</h4> |
|
387 <b>__hgQueueGuardsListAll</b>(<i></i>) |
|
388 |
|
389 <p> |
|
390 Private slot used to list all guards of all patches. |
|
391 </p> |
|
392 <a NAME="QueuesProjectHelper.__hgQueueGuardsSetActive" ID="QueuesProjectHelper.__hgQueueGuardsSetActive"></a> |
|
393 <h4>QueuesProjectHelper.__hgQueueGuardsSetActive</h4> |
|
394 <b>__hgQueueGuardsSetActive</b>(<i></i>) |
|
395 |
|
396 <p> |
|
397 Private slot used to set the active guards. |
|
398 </p> |
|
399 <a NAME="QueuesProjectHelper.__hgQueueInit" ID="QueuesProjectHelper.__hgQueueInit"></a> |
|
400 <h4>QueuesProjectHelper.__hgQueueInit</h4> |
|
401 <b>__hgQueueInit</b>(<i></i>) |
|
402 |
|
403 <p> |
|
404 Private slot to initialize a new queue repository. |
|
405 </p> |
|
406 <a NAME="QueuesProjectHelper.__hgQueueListPatches" ID="QueuesProjectHelper.__hgQueueListPatches"></a> |
|
407 <h4>QueuesProjectHelper.__hgQueueListPatches</h4> |
|
408 <b>__hgQueueListPatches</b>(<i></i>) |
|
409 |
|
410 <p> |
|
411 Private slot used to show a list of applied and unapplied patches. |
|
412 </p> |
|
413 <a NAME="QueuesProjectHelper.__hgQueueListQueues" ID="QueuesProjectHelper.__hgQueueListQueues"></a> |
|
414 <h4>QueuesProjectHelper.__hgQueueListQueues</h4> |
|
415 <b>__hgQueueListQueues</b>(<i></i>) |
|
416 |
|
417 <p> |
|
418 Private slot used to list available queues. |
|
419 </p> |
|
420 <a NAME="QueuesProjectHelper.__hgQueueNewPatch" ID="QueuesProjectHelper.__hgQueueNewPatch"></a> |
|
421 <h4>QueuesProjectHelper.__hgQueueNewPatch</h4> |
|
422 <b>__hgQueueNewPatch</b>(<i></i>) |
|
423 |
|
424 <p> |
|
425 Private slot used to create a new named patch. |
|
426 </p> |
|
427 <a NAME="QueuesProjectHelper.__hgQueuePopAllPatches" ID="QueuesProjectHelper.__hgQueuePopAllPatches"></a> |
|
428 <h4>QueuesProjectHelper.__hgQueuePopAllPatches</h4> |
|
429 <b>__hgQueuePopAllPatches</b>(<i></i>) |
|
430 |
|
431 <p> |
|
432 Private slot used to pop all patches off the stack. |
|
433 </p> |
|
434 <a NAME="QueuesProjectHelper.__hgQueuePopAllPatchesForced" ID="QueuesProjectHelper.__hgQueuePopAllPatchesForced"></a> |
|
435 <h4>QueuesProjectHelper.__hgQueuePopAllPatchesForced</h4> |
|
436 <b>__hgQueuePopAllPatchesForced</b>(<i></i>) |
|
437 |
|
438 <p> |
|
439 Private slot used to pop all patches off the stack forgetting |
|
440 any local changes to patched files. |
|
441 </p> |
|
442 <a NAME="QueuesProjectHelper.__hgQueuePopPatch" ID="QueuesProjectHelper.__hgQueuePopPatch"></a> |
|
443 <h4>QueuesProjectHelper.__hgQueuePopPatch</h4> |
|
444 <b>__hgQueuePopPatch</b>(<i></i>) |
|
445 |
|
446 <p> |
|
447 Private slot used to pop the current patch off the stack. |
|
448 </p> |
|
449 <a NAME="QueuesProjectHelper.__hgQueuePopPatchForced" ID="QueuesProjectHelper.__hgQueuePopPatchForced"></a> |
|
450 <h4>QueuesProjectHelper.__hgQueuePopPatchForced</h4> |
|
451 <b>__hgQueuePopPatchForced</b>(<i></i>) |
|
452 |
|
453 <p> |
|
454 Private slot used to pop the current patch off the stack forgetting |
|
455 any local changes to patched files. |
|
456 </p> |
|
457 <a NAME="QueuesProjectHelper.__hgQueuePopPatches" ID="QueuesProjectHelper.__hgQueuePopPatches"></a> |
|
458 <h4>QueuesProjectHelper.__hgQueuePopPatches</h4> |
|
459 <b>__hgQueuePopPatches</b>(<i></i>) |
|
460 |
|
461 <p> |
|
462 Private slot used to pop patches off the stack until a named |
|
463 one is at the top. |
|
464 </p> |
|
465 <a NAME="QueuesProjectHelper.__hgQueuePopPatchesForced" ID="QueuesProjectHelper.__hgQueuePopPatchesForced"></a> |
|
466 <h4>QueuesProjectHelper.__hgQueuePopPatchesForced</h4> |
|
467 <b>__hgQueuePopPatchesForced</b>(<i></i>) |
|
468 |
|
469 <p> |
|
470 Private slot used to pop patches off the stack until a named |
|
471 one is at the top forgetting any local changes to patched files. |
|
472 </p> |
|
473 <a NAME="QueuesProjectHelper.__hgQueuePurgeQueue" ID="QueuesProjectHelper.__hgQueuePurgeQueue"></a> |
|
474 <h4>QueuesProjectHelper.__hgQueuePurgeQueue</h4> |
|
475 <b>__hgQueuePurgeQueue</b>(<i></i>) |
|
476 |
|
477 <p> |
|
478 Private slot used to delete the reference to a queue and remove |
|
479 the patch directory. |
|
480 </p> |
|
481 <a NAME="QueuesProjectHelper.__hgQueuePushAllPatches" ID="QueuesProjectHelper.__hgQueuePushAllPatches"></a> |
|
482 <h4>QueuesProjectHelper.__hgQueuePushAllPatches</h4> |
|
483 <b>__hgQueuePushAllPatches</b>(<i></i>) |
|
484 |
|
485 <p> |
|
486 Private slot used to push all patches onto the stack. |
|
487 </p> |
|
488 <a NAME="QueuesProjectHelper.__hgQueuePushAllPatchesForced" ID="QueuesProjectHelper.__hgQueuePushAllPatchesForced"></a> |
|
489 <h4>QueuesProjectHelper.__hgQueuePushAllPatchesForced</h4> |
|
490 <b>__hgQueuePushAllPatchesForced</b>(<i></i>) |
|
491 |
|
492 <p> |
|
493 Private slot used to push all patches onto the stack on top |
|
494 of local changes. |
|
495 </p> |
|
496 <a NAME="QueuesProjectHelper.__hgQueuePushPatch" ID="QueuesProjectHelper.__hgQueuePushPatch"></a> |
|
497 <h4>QueuesProjectHelper.__hgQueuePushPatch</h4> |
|
498 <b>__hgQueuePushPatch</b>(<i></i>) |
|
499 |
|
500 <p> |
|
501 Private slot used to push the next patch onto the stack. |
|
502 </p> |
|
503 <a NAME="QueuesProjectHelper.__hgQueuePushPatchForced" ID="QueuesProjectHelper.__hgQueuePushPatchForced"></a> |
|
504 <h4>QueuesProjectHelper.__hgQueuePushPatchForced</h4> |
|
505 <b>__hgQueuePushPatchForced</b>(<i></i>) |
|
506 |
|
507 <p> |
|
508 Private slot used to push the next patch onto the stack on top |
|
509 of local changes. |
|
510 </p> |
|
511 <a NAME="QueuesProjectHelper.__hgQueuePushPatches" ID="QueuesProjectHelper.__hgQueuePushPatches"></a> |
|
512 <h4>QueuesProjectHelper.__hgQueuePushPatches</h4> |
|
513 <b>__hgQueuePushPatches</b>(<i></i>) |
|
514 |
|
515 <p> |
|
516 Private slot used to push patches onto the stack until a named |
|
517 one is at the top. |
|
518 </p> |
|
519 <a NAME="QueuesProjectHelper.__hgQueuePushPatchesForced" ID="QueuesProjectHelper.__hgQueuePushPatchesForced"></a> |
|
520 <h4>QueuesProjectHelper.__hgQueuePushPatchesForced</h4> |
|
521 <b>__hgQueuePushPatchesForced</b>(<i></i>) |
|
522 |
|
523 <p> |
|
524 Private slot used to push patches onto the stack until a named |
|
525 one is at the top on top of local changes. |
|
526 </p> |
|
527 <a NAME="QueuesProjectHelper.__hgQueuePushPopPatches" ID="QueuesProjectHelper.__hgQueuePushPopPatches"></a> |
|
528 <h4>QueuesProjectHelper.__hgQueuePushPopPatches</h4> |
|
529 <b>__hgQueuePushPopPatches</b>(<i>operation, doAll=False, named=False, force=False</i>) |
|
530 |
|
531 <p> |
|
532 Private method to push patches onto the stack or pop patches off the |
|
533 stack. |
|
534 </p> |
|
535 <dl> |
|
536 |
|
537 <dt><i>operation</i></dt> |
|
538 <dd> |
|
539 operation type to be performed (Queues.POP, |
|
540 Queues.PUSH, Queues.GOTO) |
|
541 </dd> |
|
542 <dt><i>doAll</i></dt> |
|
543 <dd> |
|
544 flag indicating to push/pop all (boolean) |
|
545 </dd> |
|
546 <dt><i>named</i></dt> |
|
547 <dd> |
|
548 flag indicating to push/pop until a named patch |
|
549 is at the top of the stack (boolean) |
|
550 </dd> |
|
551 <dt><i>force</i></dt> |
|
552 <dd> |
|
553 flag indicating a forceful pop (boolean) |
|
554 </dd> |
|
555 </dl> |
|
556 <a NAME="QueuesProjectHelper.__hgQueueRefreshPatch" ID="QueuesProjectHelper.__hgQueueRefreshPatch"></a> |
|
557 <h4>QueuesProjectHelper.__hgQueueRefreshPatch</h4> |
|
558 <b>__hgQueueRefreshPatch</b>(<i></i>) |
|
559 |
|
560 <p> |
|
561 Private slot used to refresh the current patch. |
|
562 </p> |
|
563 <a NAME="QueuesProjectHelper.__hgQueueRefreshPatchMessage" ID="QueuesProjectHelper.__hgQueueRefreshPatchMessage"></a> |
|
564 <h4>QueuesProjectHelper.__hgQueueRefreshPatchMessage</h4> |
|
565 <b>__hgQueueRefreshPatchMessage</b>(<i></i>) |
|
566 |
|
567 <p> |
|
568 Private slot used to refresh the current patch and its commit message. |
|
569 </p> |
|
570 <a NAME="QueuesProjectHelper.__hgQueueRenamePatch" ID="QueuesProjectHelper.__hgQueueRenamePatch"></a> |
|
571 <h4>QueuesProjectHelper.__hgQueueRenamePatch</h4> |
|
572 <b>__hgQueueRenamePatch</b>(<i></i>) |
|
573 |
|
574 <p> |
|
575 Private slot used to rename a patch. |
|
576 </p> |
|
577 <a NAME="QueuesProjectHelper.__hgQueueRenameQueue" ID="QueuesProjectHelper.__hgQueueRenameQueue"></a> |
|
578 <h4>QueuesProjectHelper.__hgQueueRenameQueue</h4> |
|
579 <b>__hgQueueRenameQueue</b>(<i></i>) |
|
580 |
|
581 <p> |
|
582 Private slot used to rename the active queue. |
|
583 </p> |
|
584 <a NAME="QueuesProjectHelper.__hgQueueShowHeader" ID="QueuesProjectHelper.__hgQueueShowHeader"></a> |
|
585 <h4>QueuesProjectHelper.__hgQueueShowHeader</h4> |
|
586 <b>__hgQueueShowHeader</b>(<i></i>) |
|
587 |
|
588 <p> |
|
589 Private slot used to show the commit message of the current patch. |
|
590 </p> |
|
591 <a NAME="QueuesProjectHelper.__hgQueueShowPatch" ID="QueuesProjectHelper.__hgQueueShowPatch"></a> |
|
592 <h4>QueuesProjectHelper.__hgQueueShowPatch</h4> |
|
593 <b>__hgQueueShowPatch</b>(<i></i>) |
|
594 |
|
595 <p> |
|
596 Private slot used to show the contents of the current patch. |
|
597 </p> |
|
598 <a NAME="QueuesProjectHelper.__hgQueueStatus" ID="QueuesProjectHelper.__hgQueueStatus"></a> |
|
599 <h4>QueuesProjectHelper.__hgQueueStatus</h4> |
|
600 <b>__hgQueueStatus</b>(<i></i>) |
|
601 |
|
602 <p> |
|
603 Private slot to show the status of the queue repository. |
|
604 </p> |
|
605 <a NAME="QueuesProjectHelper.__hgQueueSummary" ID="QueuesProjectHelper.__hgQueueSummary"></a> |
|
606 <h4>QueuesProjectHelper.__hgQueueSummary</h4> |
|
607 <b>__hgQueueSummary</b>(<i></i>) |
|
608 |
|
609 <p> |
|
610 Private slot to show a summary of the queue repository. |
|
611 </p> |
|
612 <a NAME="QueuesProjectHelper.__initGuardsActions" ID="QueuesProjectHelper.__initGuardsActions"></a> |
|
613 <h4>QueuesProjectHelper.__initGuardsActions</h4> |
|
614 <b>__initGuardsActions</b>(<i></i>) |
|
615 |
|
616 <p> |
|
617 Private method to generate the guards action objects. |
|
618 </p> |
|
619 <a NAME="QueuesProjectHelper.__initPushPopActions" ID="QueuesProjectHelper.__initPushPopActions"></a> |
|
620 <h4>QueuesProjectHelper.__initPushPopActions</h4> |
|
621 <b>__initPushPopActions</b>(<i></i>) |
|
622 |
|
623 <p> |
|
624 Private method to generate the push and pop action objects. |
|
625 </p> |
|
626 <a NAME="QueuesProjectHelper.__initPushPopForceActions" ID="QueuesProjectHelper.__initPushPopForceActions"></a> |
|
627 <h4>QueuesProjectHelper.__initPushPopForceActions</h4> |
|
628 <b>__initPushPopForceActions</b>(<i></i>) |
|
629 |
|
630 <p> |
|
631 Private method to generate the push and pop (force) action objects. |
|
632 </p> |
|
633 <a NAME="QueuesProjectHelper.__initQueuesMgmtActions" ID="QueuesProjectHelper.__initQueuesMgmtActions"></a> |
|
634 <h4>QueuesProjectHelper.__initQueuesMgmtActions</h4> |
|
635 <b>__initQueuesMgmtActions</b>(<i></i>) |
|
636 |
|
637 <p> |
|
638 Private method to generate the queues management action objects. |
|
639 </p> |
|
640 <a NAME="QueuesProjectHelper.initActions" ID="QueuesProjectHelper.initActions"></a> |
|
641 <h4>QueuesProjectHelper.initActions</h4> |
|
642 <b>initActions</b>(<i></i>) |
|
643 |
|
644 <p> |
|
645 Public method to generate the action objects. |
|
646 </p> |
|
647 <a NAME="QueuesProjectHelper.initMenu" ID="QueuesProjectHelper.initMenu"></a> |
|
648 <h4>QueuesProjectHelper.initMenu</h4> |
|
649 <b>initMenu</b>(<i>mainMenu</i>) |
|
650 |
|
651 <p> |
|
652 Public method to generate the extension menu. |
|
653 </p> |
|
654 <dl> |
|
655 |
|
656 <dt><i>mainMenu</i></dt> |
|
657 <dd> |
|
658 reference to the main menu (QMenu) |
|
659 </dd> |
|
660 </dl> |
|
661 <dl> |
|
662 <dt>Return:</dt> |
|
663 <dd> |
|
664 populated menu (QMenu) |
|
665 </dd> |
|
666 </dl> |
|
667 <a NAME="QueuesProjectHelper.menuTitle" ID="QueuesProjectHelper.menuTitle"></a> |
|
668 <h4>QueuesProjectHelper.menuTitle</h4> |
|
669 <b>menuTitle</b>(<i></i>) |
|
670 |
|
671 <p> |
|
672 Public method to get the menu title. |
|
673 </p> |
|
674 <dl> |
|
675 <dt>Return:</dt> |
|
676 <dd> |
|
677 title of the menu (string) |
|
678 </dd> |
|
679 </dl> |
|
680 <div align="right"><a href="#top">Up</a></div> |
|
681 <hr /> |
|
682 </body></html> |