Documentation/Source/eric5.VCS.StatusMonitorThread.html

Sat, 02 Jan 2010 18:19:35 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 02 Jan 2010 18:19:35 +0000
changeset 17
edde1fe80b3e
child 21
b88a0e6268bd
permissions
-rw-r--r--

Updated documentation.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric5.VCS.StatusMonitorThread</title>
<style>
b'body {\n    background:white;\n    margin: 0em 1em 10em 1em;\n    color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n    \na { color: #AA5500; }\n'
</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric5.VCS.StatusMonitorThread</h1>
<p>
&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115;.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#VcsStatusMonitorThread">VcsStatusMonitorThread</a></td>
<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115;.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="VcsStatusMonitorThread" ID="VcsStatusMonitorThread"></a>
<h2>VcsStatusMonitorThread</h2>
<p>
    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115;.
</p><h4>Signals</h4>
<dl>
<dt>vcsStatusMonitorData(QStringList)</dt>
<dd>
&#101;&#109;&#105;&#116;&#116;&#101;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#117;&#115;
</dd><dt>vcsStatusMonitorStatus(QString, QString)</dt>
<dd>
&#101;&#109;&#105;&#116;&#116;&#101;&#100; &#116;&#111; &#115;&#105;&#103;&#110;&#97;&#108; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101;
        &#109;&#111;&#110;&#105;&#116;&#111;&#114;&#105;&#110;&#103; &#116;&#104;&#114;&#101;&#97;&#100; (&#111;&#107;, &#110;&#111;&#107;, &#111;&#112;) &#97;&#110;&#100; &#97; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#101;&#115;&#115;&#97;&#103;&#101;
</dd>
</dl>
<h3>Derived from</h3>
QThread
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#VcsStatusMonitorThread.__init__">VcsStatusMonitorThread</a></td>
<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
</tr><tr>
<td><a href="#VcsStatusMonitorThread._performMonitor">_performMonitor</a></td>
<td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#114;&#101;&#97;&#108; &#109;&#111;&#110;&#105;&#116;&#111;&#114;&#105;&#110;&#103; &#97;&#99;&#116;&#105;&#111;&#110;.</td>
</tr><tr>
<td><a href="#VcsStatusMonitorThread.checkStatus">checkStatus</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#97;&#107;&#101; &#117;&#112; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100;.</td>
</tr><tr>
<td><a href="#VcsStatusMonitorThread.clearCachedState">clearCachedState</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#101;&#97;&#114; &#116;&#104;&#101; &#99;&#97;&#99;&#104;&#101;&#100; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#101; &#111;&#102; &#97; &#102;&#105;&#108;&#101;/&#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y.</td>
</tr><tr>
<td><a href="#VcsStatusMonitorThread.getAutoUpdate">getAutoUpdate</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#97;&#117;&#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;.</td>
</tr><tr>
<td><a href="#VcsStatusMonitorThread.getInterval">getInterval</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#105;&#110;&#116;&#101;&#114;v&#97;&#108;.</td>
</tr><tr>
<td><a href="#VcsStatusMonitorThread.run">run</a></td>
<td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#116;&#97;&#115;&#107;&#115; &#97;&#99;&#116;&#105;&#111;&#110;.</td>
</tr><tr>
<td><a href="#VcsStatusMonitorThread.setAutoUpdate">setAutoUpdate</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101; &#116;&#104;&#101; &#97;&#117;&#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;.</td>
</tr><tr>
<td><a href="#VcsStatusMonitorThread.setInterval">setInterval</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#97;&#110;&#103;&#101; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#105;&#110;&#116;&#101;&#114;v&#97;&#108;.</td>
</tr><tr>
<td><a href="#VcsStatusMonitorThread.stop">stop</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#111;&#112; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100;.</td>
</tr>
</table>
<a NAME="VcsStatusMonitorThread.__init__" ID="VcsStatusMonitorThread.__init__"></a>
<h4>VcsStatusMonitorThread (Constructor)</h4>
<b>VcsStatusMonitorThread</b>(<i>interval, projectDir, vcs, parent = None</i>)
<p>
        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
</p><dl>
<dt><i>interval</i></dt>
<dd>
&#110;&#101;w &#105;&#110;&#116;&#101;&#114;v&#97;&#108; &#105;&#110; &#115;&#101;&#99;&#111;&#110;&#100;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd><dt><i>projectDir</i></dt>
<dd>
&#112;&#114;&#111;&#106;&#101;&#99;&#116; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#116;&#111; &#109;&#111;&#110;&#105;&#116;&#111;&#114; (&#115;&#116;&#114;&#105;&#110;&#103;)
</dd><dt><i>vcs</i></dt>
<dd>
&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; v&#101;&#114;&#115;&#105;&#111;&#110; &#99;&#111;&#110;&#116;&#114;&#111;&#108; &#111;&#98;&#106;&#101;&#99;&#116;
</dd><dt><i>parent</i></dt>
<dd>
&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;)
</dd>
</dl><a NAME="VcsStatusMonitorThread._performMonitor" ID="VcsStatusMonitorThread._performMonitor"></a>
<h4>VcsStatusMonitorThread._performMonitor</h4>
<b>_performMonitor</b>(<i></i>)
<p>
        &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#114;&#101;&#97;&#108; &#109;&#111;&#110;&#105;&#116;&#111;&#114;&#105;&#110;&#103; &#97;&#99;&#116;&#105;&#111;&#110;.
</p><p>
        &#84;&#104;&#105;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#109;&#117;&#115;&#116; &#98;&#101; &#111;v&#101;&#114;&#114;&#105;&#100;&#100;&#101;&#110; &#97;&#110;&#100; &#112;&#111;&#112;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115;&#76;&#105;&#115;&#116; &#109;&#101;&#109;&#98;&#101;&#114; v&#97;&#114;&#105;&#97;&#98;&#108;&#101;
        w&#105;&#116;&#104; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115; &#103;&#105;v&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#105;&#110; &#116;&#104;&#101; &#102;&#105;&#114;&#115;&#116; &#99;&#111;&#108;&#117;&#109;&#110; &#97;&#110;&#100; &#116;&#104;&#101;
        &#112;&#97;&#116;&#104; &#114;&#101;&#108;&#97;&#116;&#105;v&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#115;&#116;&#97;&#114;&#116;&#105;&#110;&#103; w&#105;&#116;&#104; &#116;&#104;&#101; &#116;&#104;&#105;&#114;&#100; &#99;&#111;&#108;&#117;&#109;&#110;.
        &#84;&#104;&#101; &#97;&#108;&#108;&#111;w&#101;&#100; &#115;&#116;&#97;&#116;&#117;&#115; &#102;&#108;&#97;&#103;&#115; &#97;&#114;&#101;&#58;
        &#60;&#117;&#108;&#62;
            &#60;&#108;&#105;&#62;"&#65;" &#112;&#97;&#116;&#104; w&#97;&#115; &#97;&#100;&#100;&#101;&#100; &#98;&#117;&#116; &#110;&#111;&#116; y&#101;&#116; &#99;&#111;&#109;&#105;&#116;&#116;&#101;&#100;&#60;/&#108;&#105;&#62;
            &#60;&#108;&#105;&#62;"&#77;" &#112;&#97;&#116;&#104; &#104;&#97;&#115; &#108;&#111;&#99;&#97;&#108; &#99;&#104;&#97;&#110;&#103;&#101;&#115;&#60;/&#108;&#105;&#62;
            &#60;&#108;&#105;&#62;"&#82;" &#112;&#97;&#116;&#104; w&#97;&#115; &#100;&#101;&#108;&#101;&#116;&#101;&#100; &#97;&#110;&#100; &#116;&#104;&#101;&#110; &#114;&#101;-&#97;&#100;&#100;&#101;&#100;&#60;/&#108;&#105;&#62;
            &#60;&#108;&#105;&#62;"&#85;" &#112;&#97;&#116;&#104; &#110;&#101;&#101;&#100;&#115; &#97;&#110; &#117;&#112;&#100;&#97;&#116;&#101;&#60;/&#108;&#105;&#62;
            &#60;&#108;&#105;&#62;"&#90;" &#112;&#97;&#116;&#104; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#115; &#97; &#99;&#111;&#110;&#102;&#108;&#105;&#99;&#116;&#60;/&#108;&#105;&#62;
            &#60;&#108;&#105;&#62;" " &#112;&#97;&#116;&#104; &#105;&#115; &#98;&#97;&#99;&#107; &#97;&#116; &#110;&#111;&#114;&#109;&#97;&#108;&#60;/&#108;&#105;&#62;
        &#60;/&#117;&#108;&#62;
</p><dl>
<dt>Returns:</dt>
<dd>
&#116;&#117;&#112;&#108;&#101; &#111;&#102; &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115;&#102;&#117;&#108; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) &#97;&#110;&#100;
            &#97; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#101;&#115;&#115;&#97;&#103;&#101; &#105;&#110; &#99;&#97;&#115;&#101; &#111;&#102; &#110;&#111;&#110; &#115;&#117;&#99;&#99;&#101;&#115;&#115;&#102;&#117;&#108; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#81;&#83;&#116;&#114;&#105;&#110;&#103;)
</dd>
</dl><a NAME="VcsStatusMonitorThread.checkStatus" ID="VcsStatusMonitorThread.checkStatus"></a>
<h4>VcsStatusMonitorThread.checkStatus</h4>
<b>checkStatus</b>(<i></i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#97;&#107;&#101; &#117;&#112; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100;.
</p><a NAME="VcsStatusMonitorThread.clearCachedState" ID="VcsStatusMonitorThread.clearCachedState"></a>
<h4>VcsStatusMonitorThread.clearCachedState</h4>
<b>clearCachedState</b>(<i>name</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#101;&#97;&#114; &#116;&#104;&#101; &#99;&#97;&#99;&#104;&#101;&#100; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#101; &#111;&#102; &#97; &#102;&#105;&#108;&#101;/&#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y.
</p><dl>
<dt><i>name</i></dt>
<dd>
&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#98;&#101; &#99;&#108;&#101;&#97;&#114;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;)
</dd>
</dl><a NAME="VcsStatusMonitorThread.getAutoUpdate" ID="VcsStatusMonitorThread.getAutoUpdate"></a>
<h4>VcsStatusMonitorThread.getAutoUpdate</h4>
<b>getAutoUpdate</b>(<i></i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#97;&#117;&#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;.
</p><dl>
<dt>Returns:</dt>
<dd>
&#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#97;&#117;&#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
</dd>
</dl><a NAME="VcsStatusMonitorThread.getInterval" ID="VcsStatusMonitorThread.getInterval"></a>
<h4>VcsStatusMonitorThread.getInterval</h4>
<b>getInterval</b>(<i></i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#105;&#110;&#116;&#101;&#114;v&#97;&#108;.
</p><dl>
<dt>Returns:</dt>
<dd>
&#105;&#110;&#116;&#101;&#114;v&#97;&#108; &#105;&#110; &#115;&#101;&#99;&#111;&#110;&#100;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd>
</dl><a NAME="VcsStatusMonitorThread.run" ID="VcsStatusMonitorThread.run"></a>
<h4>VcsStatusMonitorThread.run</h4>
<b>run</b>(<i></i>)
<p>
        &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#116;&#97;&#115;&#107;&#115; &#97;&#99;&#116;&#105;&#111;&#110;.
</p><a NAME="VcsStatusMonitorThread.setAutoUpdate" ID="VcsStatusMonitorThread.setAutoUpdate"></a>
<h4>VcsStatusMonitorThread.setAutoUpdate</h4>
<b>setAutoUpdate</b>(<i>auto</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101; &#116;&#104;&#101; &#97;&#117;&#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;.
</p><dl>
<dt><i>auto</i></dt>
<dd>
&#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#97;&#117;&#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
</dd>
</dl><a NAME="VcsStatusMonitorThread.setInterval" ID="VcsStatusMonitorThread.setInterval"></a>
<h4>VcsStatusMonitorThread.setInterval</h4>
<b>setInterval</b>(<i>interval</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#97;&#110;&#103;&#101; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#105;&#110;&#116;&#101;&#114;v&#97;&#108;.
</p><dl>
<dt><i>interval</i></dt>
<dd>
&#110;&#101;w &#105;&#110;&#116;&#101;&#114;v&#97;&#108; &#105;&#110; &#115;&#101;&#99;&#111;&#110;&#100;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd>
</dl><a NAME="VcsStatusMonitorThread.stop" ID="VcsStatusMonitorThread.stop"></a>
<h4>VcsStatusMonitorThread.stop</h4>
<b>stop</b>(<i></i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#111;&#112; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100;.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial