Documentation/Source/eric6.WebBrowser.Download.DownloadModel.html

changeset 6225
56b6f18abc21
parent 5656
9c21b2746218
diff -r 08875555771a -r 56b6f18abc21 Documentation/Source/eric6.WebBrowser.Download.DownloadModel.html
--- a/Documentation/Source/eric6.WebBrowser.Download.DownloadModel.html	Sun Apr 08 17:34:59 2018 +0200
+++ b/Documentation/Source/eric6.WebBrowser.Download.DownloadModel.html	Sun Apr 08 17:36:43 2018 +0200
@@ -70,7 +70,7 @@
 <td>Public method to return the mime data.</td>
 </tr><tr>
 <td><a href="#DownloadModel.removeRows">removeRows</a></td>
-<td>Public method to remove bookmarks from the model.</td>
+<td>Public method to remove downloads from the model.</td>
 </tr><tr>
 <td><a href="#DownloadModel.rowCount">rowCount</a></td>
 <td>Public method to get the number of rows of the model.</td>
@@ -86,12 +86,12 @@
 <p>
         Constructor
 </p><dl>
-<dt><i>manager</i></dt>
+<dt><i>manager</i> (DownloadManager)</dt>
 <dd>
-reference to the download manager (DownloadManager)
-</dd><dt><i>parent</i></dt>
+reference to the download manager
+</dd><dt><i>parent</i> (QObject)</dt>
 <dd>
-reference to the parent object (QObject)
+reference to the parent object
 </dd>
 </dl><a NAME="DownloadModel.data" ID="DownloadModel.data"></a>
 <h4>DownloadModel.data</h4>
@@ -99,32 +99,42 @@
 <p>
         Public method to get data from the model.
 </p><dl>
-<dt><i>index</i></dt>
+<dt><i>index</i> (QModelIndex)</dt>
 <dd>
-index to get data for (QModelIndex)
-</dd><dt><i>role</i></dt>
+index to get data for
+</dd><dt><i>role</i> (int)</dt>
 <dd>
-role of the data to retrieve (integer)
+role of the data to retrieve
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
 requested data
 </dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+any
+</dd>
 </dl><a NAME="DownloadModel.flags" ID="DownloadModel.flags"></a>
 <h4>DownloadModel.flags</h4>
 <b>flags</b>(<i>index</i>)
 <p>
         Public method to get flags for an item.
 </p><dl>
-<dt><i>index</i></dt>
+<dt><i>index</i> (QModelIndex)</dt>
 <dd>
-index of the node cell (QModelIndex)
+index of the node cell
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-flags (Qt.ItemFlags)
+flags
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+Qt.ItemFlags
 </dd>
 </dl><a NAME="DownloadModel.mimeData" ID="DownloadModel.mimeData"></a>
 <h4>DownloadModel.mimeData</h4>
@@ -132,35 +142,45 @@
 <p>
         Public method to return the mime data.
 </p><dl>
-<dt><i>indexes</i></dt>
+<dt><i>indexes</i> (QModelIndexList)</dt>
 <dd>
-list of indexes (QModelIndexList)
+list of indexes
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-mime data (QMimeData)
+mime data
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+QMimeData
 </dd>
 </dl><a NAME="DownloadModel.removeRows" ID="DownloadModel.removeRows"></a>
 <h4>DownloadModel.removeRows</h4>
 <b>removeRows</b>(<i>row, count, parent=None</i>)
 <p>
-        Public method to remove bookmarks from the model.
+        Public method to remove downloads from the model.
 </p><dl>
-<dt><i>row</i></dt>
+<dt><i>row</i> (int)</dt>
 <dd>
-row of the first bookmark to remove (integer)
-</dd><dt><i>count</i></dt>
+row of the first download to remove
+</dd><dt><i>count</i> (int)</dt>
 <dd>
-number of bookmarks to remove (integer)
-</dd><dt><i>parent</i></dt>
+number of downloads to remove
+</dd><dt><i>parent</i> (QModelIndex)</dt>
 <dd>
-index of the parent bookmark node (QModelIndex)
+index of the parent download node
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-flag indicating successful removal (boolean)
+flag indicating successful removal
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+bool
 </dd>
 </dl><a NAME="DownloadModel.rowCount" ID="DownloadModel.rowCount"></a>
 <h4>DownloadModel.rowCount</h4>
@@ -168,14 +188,19 @@
 <p>
         Public method to get the number of rows of the model.
 </p><dl>
-<dt><i>parent</i></dt>
+<dt><i>parent</i> (QModelIndex)</dt>
 <dd>
-parent index (QModelIndex)
+parent index
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-number of rows (integer)
+number of rows
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+int
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial