Documentation/Source/eric5.Helpviewer.Download.DownloadItem.html

changeset 679
b427350a9d97
parent 668
b0061a6f7484
child 757
d3daf1d8f058
diff -r d388291f5b6c -r b427350a9d97 Documentation/Source/eric5.Helpviewer.Download.DownloadItem.html
--- a/Documentation/Source/eric5.Helpviewer.Download.DownloadItem.html	Sat Oct 16 18:56:15 2010 +0200
+++ b/Documentation/Source/eric5.Helpviewer.Download.DownloadItem.html	Sat Oct 16 19:03:05 2010 +0200
@@ -93,12 +93,18 @@
 <td><a href="#DownloadItem.bytesTotal">bytesTotal</a></td>
 <td>Public method to get the total number of bytes of the download.</td>
 </tr><tr>
+<td><a href="#DownloadItem.cancelDownload">cancelDownload</a></td>
+<td>Public slot to stop the download.</td>
+</tr><tr>
 <td><a href="#DownloadItem.canceledFileSelect">canceledFileSelect</a></td>
 <td>Public method to check, if the user canceled the file selection.</td>
 </tr><tr>
 <td><a href="#DownloadItem.currentSpeed">currentSpeed</a></td>
 <td>Public method to get an estimation for the download speed.</td>
 </tr><tr>
+<td><a href="#DownloadItem.downloadCanceled">downloadCanceled</a></td>
+<td>Public method to check, if the download was cancelled.</td>
+</tr><tr>
 <td><a href="#DownloadItem.downloadedSuccessfully">downloadedSuccessfully</a></td>
 <td>Public method to check for a successful download.</td>
 </tr><tr>
@@ -114,6 +120,9 @@
 <td><a href="#DownloadItem.getInfoData">getInfoData</a></td>
 <td>Public method to get the text of the info label.</td>
 </tr><tr>
+<td><a href="#DownloadItem.getPageUrl">getPageUrl</a></td>
+<td>Public method to get the URL of the download page.</td>
+</tr><tr>
 <td><a href="#DownloadItem.on_openButton_clicked">on_openButton_clicked</a></td>
 <td>Private slot to open the downloaded file.</td>
 </tr><tr>
@@ -123,9 +132,18 @@
 <td><a href="#DownloadItem.on_tryAgainButton_clicked">on_tryAgainButton_clicked</a></td>
 <td>Private slot to retry the download.</td>
 </tr><tr>
+<td><a href="#DownloadItem.openFile">openFile</a></td>
+<td>Public slot to open the downloaded file.</td>
+</tr><tr>
+<td><a href="#DownloadItem.openFolder">openFolder</a></td>
+<td>Public slot to open the folder containing the downloaded file.</td>
+</tr><tr>
 <td><a href="#DownloadItem.remainingTime">remainingTime</a></td>
 <td>Public method to get an estimation for the remaining time.</td>
 </tr><tr>
+<td><a href="#DownloadItem.retry">retry</a></td>
+<td>Public slot to retry the download.</td>
+</tr><tr>
 <td><a href="#DownloadItem.setData">setData</a></td>
 <td>Public method to set the relevant download data.</td>
 </tr><tr>
@@ -259,7 +277,12 @@
 <dd>
 total number of bytes (integer)
 </dd>
-</dl><a NAME="DownloadItem.canceledFileSelect" ID="DownloadItem.canceledFileSelect"></a>
+</dl><a NAME="DownloadItem.cancelDownload" ID="DownloadItem.cancelDownload"></a>
+<h4>DownloadItem.cancelDownload</h4>
+<b>cancelDownload</b>(<i></i>)
+<p>
+        Public slot to stop the download.
+</p><a NAME="DownloadItem.canceledFileSelect" ID="DownloadItem.canceledFileSelect"></a>
 <h4>DownloadItem.canceledFileSelect</h4>
 <b>canceledFileSelect</b>(<i></i>)
 <p>
@@ -279,6 +302,16 @@
 <dd>
 estimation for the download speed (float)
 </dd>
+</dl><a NAME="DownloadItem.downloadCanceled" ID="DownloadItem.downloadCanceled"></a>
+<h4>DownloadItem.downloadCanceled</h4>
+<b>downloadCanceled</b>(<i></i>)
+<p>
+        Public method to check, if the download was cancelled.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating a canceled download (boolean)
+</dd>
 </dl><a NAME="DownloadItem.downloadedSuccessfully" ID="DownloadItem.downloadedSuccessfully"></a>
 <h4>DownloadItem.downloadedSuccessfully</h4>
 <b>downloadedSuccessfully</b>(<i></i>)
@@ -317,8 +350,8 @@
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-tuple of URL, save location and done flag
-            (QUrl, string, boolean)
+tuple of URL, save location, flag and the
+            URL of the related web page (QUrl, string, boolean,QUrl)
 </dd>
 </dl><a NAME="DownloadItem.getInfoData" ID="DownloadItem.getInfoData"></a>
 <h4>DownloadItem.getInfoData</h4>
@@ -330,6 +363,16 @@
 <dd>
 text of the info label (string)
 </dd>
+</dl><a NAME="DownloadItem.getPageUrl" ID="DownloadItem.getPageUrl"></a>
+<h4>DownloadItem.getPageUrl</h4>
+<b>getPageUrl</b>(<i></i>)
+<p>
+        Public method to get the URL of the download page.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+URL of the download page (QUrl)
+</dd>
 </dl><a NAME="DownloadItem.on_openButton_clicked" ID="DownloadItem.on_openButton_clicked"></a>
 <h4>DownloadItem.on_openButton_clicked</h4>
 <b>on_openButton_clicked</b>(<i></i>)
@@ -345,6 +388,16 @@
 <b>on_tryAgainButton_clicked</b>(<i></i>)
 <p>
         Private slot to retry the download.
+</p><a NAME="DownloadItem.openFile" ID="DownloadItem.openFile"></a>
+<h4>DownloadItem.openFile</h4>
+<b>openFile</b>(<i></i>)
+<p>
+        Public slot to open the downloaded file.
+</p><a NAME="DownloadItem.openFolder" ID="DownloadItem.openFolder"></a>
+<h4>DownloadItem.openFolder</h4>
+<b>openFolder</b>(<i></i>)
+<p>
+        Public slot to open the folder containing the downloaded file.
 </p><a NAME="DownloadItem.remainingTime" ID="DownloadItem.remainingTime"></a>
 <h4>DownloadItem.remainingTime</h4>
 <b>remainingTime</b>(<i></i>)
@@ -355,7 +408,12 @@
 <dd>
 estimation for the remaining time (float)
 </dd>
-</dl><a NAME="DownloadItem.setData" ID="DownloadItem.setData"></a>
+</dl><a NAME="DownloadItem.retry" ID="DownloadItem.retry"></a>
+<h4>DownloadItem.retry</h4>
+<b>retry</b>(<i></i>)
+<p>
+        Public slot to retry the download.
+</p><a NAME="DownloadItem.setData" ID="DownloadItem.setData"></a>
 <h4>DownloadItem.setData</h4>
 <b>setData</b>(<i>data</i>)
 <p>
@@ -363,8 +421,8 @@
 </p><dl>
 <dt><i>data</i></dt>
 <dd>
-tuple of URL, save location and done flag
-            (QUrl, string, boolean)
+tuple of URL, save location, flag and the
+            URL of the related web page (QUrl, string, boolean, QUrl)
 </dd>
 </dl><a NAME="DownloadItem.setIcon" ID="DownloadItem.setIcon"></a>
 <h4>DownloadItem.setIcon</h4>

eric ide

mercurial