22 |
22 |
23 def __init__(self, interval, project, vcs, parent=None): |
23 def __init__(self, interval, project, vcs, parent=None): |
24 """ |
24 """ |
25 Constructor |
25 Constructor |
26 |
26 |
27 @param interval new interval in seconds (integer) |
27 @param interval new interval in seconds |
28 @param project reference to the project object (Project) |
28 @type int |
|
29 @param project reference to the project object |
|
30 @type Project |
29 @param vcs reference to the version control object |
31 @param vcs reference to the version control object |
30 @param parent reference to the parent object (QObject) |
32 @type Subversion |
|
33 @param parent reference to the parent object |
|
34 @type QObject |
31 """ |
35 """ |
32 VcsStatusMonitorThread.__init__(self, interval, project, vcs, parent) |
36 VcsStatusMonitorThread.__init__(self, interval, project, vcs, parent) |
33 |
37 |
34 self.__ioEncoding = Preferences.getSystem("IOEncoding") |
38 self.__ioEncoding = Preferences.getSystem("IOEncoding") |
35 |
39 |
56 <li>"?" path is not tracked</li> |
60 <li>"?" path is not tracked</li> |
57 <li>"!" path is missing</li> |
61 <li>"!" path is missing</li> |
58 <li>" " path is back at normal</li> |
62 <li>" " path is back at normal</li> |
59 </ul> |
63 </ul> |
60 |
64 |
61 @return tuple of flag indicating successful operation (boolean) and |
65 @return tuple of flag indicating successful operation and a status message |
62 a status message in case of non successful operation (string) |
66 in case of non successful operation |
|
67 @rtype tuple of (bool, str) |
63 """ |
68 """ |
64 self.shouldUpdate = False |
69 self.shouldUpdate = False |
65 |
70 |
66 process = QProcess() |
71 process = QProcess() |
67 args = [] |
72 args = [] |