--- a/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockModel.html Thu Jan 14 17:27:31 2010 +0000 +++ b/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockModel.html Thu Jan 14 18:35:52 2010 +0000 @@ -22,7 +22,7 @@ <body><a NAME="top" ID="top"></a> <h1>eric5.Helpviewer.AdBlock.AdBlockModel</h1> <p> -Module implementing a model for the AdBlock dialog. +Module implementing a model for the AdBlock dialog. </p> <h3>Global Attributes</h3> <table> @@ -32,7 +32,7 @@ <table> <tr> <td><a href="#AdBlockModel">AdBlockModel</a></td> -<td>Class implementing a model for the AdBlock dialog.</td> +<td>Class implementing a model for the AdBlock dialog.</td> </tr> </table> <h3>Functions</h3> @@ -43,7 +43,7 @@ <a NAME="AdBlockModel" ID="AdBlockModel"></a> <h2>AdBlockModel</h2> <p> - Class implementing a model for the AdBlock dialog. + Class implementing a model for the AdBlock dialog. </p> <h3>Derived from</h3> QAbstractItemModel @@ -55,287 +55,287 @@ <table> <tr> <td><a href="#AdBlockModel.__init__">AdBlockModel</a></td> -<td>Constructor</td> +<td>Constructor</td> </tr><tr> <td><a href="#AdBlockModel.__rulesChanged">__rulesChanged</a></td> -<td>Private slot to handle changes in rules.</td> +<td>Private slot to handle changes in rules.</td> </tr><tr> <td><a href="#AdBlockModel.columnCount">columnCount</a></td> -<td>Public method to get the number of columns.</td> +<td>Public method to get the number of columns.</td> </tr><tr> <td><a href="#AdBlockModel.data">data</a></td> -<td>Public method to get data from the model.</td> +<td>Public method to get data from the model.</td> </tr><tr> <td><a href="#AdBlockModel.flags">flags</a></td> -<td>Public method to get flags for a node cell.</td> +<td>Public method to get flags for a node cell.</td> </tr><tr> <td><a href="#AdBlockModel.hasChildren">hasChildren</a></td> -<td>Public method to check, if a parent node has some children.</td> +<td>Public method to check, if a parent node has some children.</td> </tr><tr> <td><a href="#AdBlockModel.headerData">headerData</a></td> -<td>Public method to get the header data.</td> +<td>Public method to get the header data.</td> </tr><tr> <td><a href="#AdBlockModel.index">index</a></td> -<td>Public method to get a model index for a node cell.</td> +<td>Public method to get a model index for a node cell.</td> </tr><tr> <td><a href="#AdBlockModel.parent">parent</a></td> -<td>Public method to get the index of the parent node.</td> +<td>Public method to get the index of the parent node.</td> </tr><tr> <td><a href="#AdBlockModel.removeRows">removeRows</a></td> -<td>Public method to remove bookmarks from the model.</td> +<td>Public method to remove bookmarks from the model.</td> </tr><tr> <td><a href="#AdBlockModel.rowCount">rowCount</a></td> -<td>Public method to determine the number of rows.</td> +<td>Public method to determine the number of rows.</td> </tr><tr> <td><a href="#AdBlockModel.rule">rule</a></td> -<td>Public method to get the rule given it's index.</td> +<td>Public method to get the rule given it's index.</td> </tr><tr> <td><a href="#AdBlockModel.setData">setData</a></td> -<td>Public method to set the data of a node cell.</td> +<td>Public method to set the data of a node cell.</td> </tr><tr> <td><a href="#AdBlockModel.subscription">subscription</a></td> -<td>Public method to get the subscription given it's index.</td> +<td>Public method to get the subscription given it's index.</td> </tr><tr> <td><a href="#AdBlockModel.subscriptionIndex">subscriptionIndex</a></td> -<td>Public method to get the index of a subscription.</td> +<td>Public method to get the index of a subscription.</td> </tr> </table> <a NAME="AdBlockModel.__init__" ID="AdBlockModel.__init__"></a> <h4>AdBlockModel (Constructor)</h4> <b>AdBlockModel</b>(<i>parent = None</i>) <p> - Constructor + Constructor </p><dl> <dt><i>parent</i></dt> <dd> -reference to the parent object (QObject) +reference to the parent object (QObject) </dd> </dl><a NAME="AdBlockModel.__rulesChanged" ID="AdBlockModel.__rulesChanged"></a> <h4>AdBlockModel.__rulesChanged</h4> <b>__rulesChanged</b>(<i></i>) <p> - Private slot to handle changes in rules. + Private slot to handle changes in rules. </p><a NAME="AdBlockModel.columnCount" ID="AdBlockModel.columnCount"></a> <h4>AdBlockModel.columnCount</h4> <b>columnCount</b>(<i>parent = QModelIndex()</i>) <p> - Public method to get the number of columns. + Public method to get the number of columns. </p><dl> <dt><i>parent</i></dt> <dd> -index of parent (QModelIndex) +index of parent (QModelIndex) </dd> </dl><dl> <dt>Returns:</dt> <dd> -number of columns (integer) +number of columns (integer) </dd> </dl><a NAME="AdBlockModel.data" ID="AdBlockModel.data"></a> <h4>AdBlockModel.data</h4> <b>data</b>(<i>index, role = Qt.DisplayRole</i>) <p> - Public method to get data from the model. + Public method to get data from the model. </p><dl> <dt><i>index</i></dt> <dd> -index of bookmark to get data for (QModelIndex) +index of bookmark to get data for (QModelIndex) </dd><dt><i>role</i></dt> <dd> -data role (integer) +data role (integer) </dd> </dl><dl> <dt>Returns:</dt> <dd> -bookmark data +bookmark data </dd> </dl><a NAME="AdBlockModel.flags" ID="AdBlockModel.flags"></a> <h4>AdBlockModel.flags</h4> <b>flags</b>(<i>index</i>) <p> - Public method to get flags for a node cell. + Public method to get flags for a node cell. </p><dl> <dt><i>index</i></dt> <dd> -index of the node cell (QModelIndex) +index of the node cell (QModelIndex) </dd> </dl><dl> <dt>Returns:</dt> <dd> -flags (Qt.ItemFlags) +flags (Qt.ItemFlags) </dd> </dl><a NAME="AdBlockModel.hasChildren" ID="AdBlockModel.hasChildren"></a> <h4>AdBlockModel.hasChildren</h4> <b>hasChildren</b>(<i>parent = QModelIndex()</i>) <p> - Public method to check, if a parent node has some children. + Public method to check, if a parent node has some children. </p><dl> <dt><i>parent</i></dt> <dd> -index of the parent node (QModelIndex) +index of the parent node (QModelIndex) </dd> </dl><dl> <dt>Returns:</dt> <dd> -flag indicating the presence of children (boolean) +flag indicating the presence of children (boolean) </dd> </dl><a NAME="AdBlockModel.headerData" ID="AdBlockModel.headerData"></a> <h4>AdBlockModel.headerData</h4> <b>headerData</b>(<i>section, orientation, role = Qt.DisplayRole</i>) <p> - Public method to get the header data. + Public method to get the header data. </p><dl> <dt><i>section</i></dt> <dd> -section number (integer) +section number (integer) </dd><dt><i>orientation</i></dt> <dd> -header orientation (Qt.Orientation) +header orientation (Qt.Orientation) </dd><dt><i>role</i></dt> <dd> -data role (integer) +data role (integer) </dd> </dl><dl> <dt>Returns:</dt> <dd> -header data +header data </dd> </dl><a NAME="AdBlockModel.index" ID="AdBlockModel.index"></a> <h4>AdBlockModel.index</h4> <b>index</b>(<i>row, column, parent = QModelIndex()</i>) <p> - Public method to get a model index for a node cell. + Public method to get a model index for a node cell. </p><dl> <dt><i>row</i></dt> <dd> -row number (integer) +row number (integer) </dd><dt><i>column</i></dt> <dd> -column number (integer) +column number (integer) </dd><dt><i>parent</i></dt> <dd> -index of the parent (QModelIndex) +index of the parent (QModelIndex) </dd> </dl><dl> <dt>Returns:</dt> <dd> -index (QModelIndex) +index (QModelIndex) </dd> </dl><a NAME="AdBlockModel.parent" ID="AdBlockModel.parent"></a> <h4>AdBlockModel.parent</h4> <b>parent</b>(<i>index = QModelIndex()</i>) <p> - Public method to get the index of the parent node. + Public method to get the index of the parent node. </p><dl> <dt><i>index</i></dt> <dd> -index of the child node (QModelIndex) +index of the child node (QModelIndex) </dd> </dl><dl> <dt>Returns:</dt> <dd> -index of the parent node (QModelIndex) +index of the parent node (QModelIndex) </dd> </dl><a NAME="AdBlockModel.removeRows" ID="AdBlockModel.removeRows"></a> <h4>AdBlockModel.removeRows</h4> <b>removeRows</b>(<i>row, count, parent = QModelIndex()</i>) <p> - Public method to remove bookmarks from the model. + Public method to remove bookmarks from the model. </p><dl> <dt><i>row</i></dt> <dd> -row of the first bookmark to remove (integer) +row of the first bookmark to remove (integer) </dd><dt><i>count</i></dt> <dd> -number of bookmarks to remove (integer) +number of bookmarks to remove (integer) </dd><dt><i>index</i></dt> <dd> -of the parent bookmark node (QModelIndex) +of the parent bookmark node (QModelIndex) </dd> </dl><dl> <dt>Returns:</dt> <dd> -flag indicating successful removal (boolean) +flag indicating successful removal (boolean) </dd> </dl><a NAME="AdBlockModel.rowCount" ID="AdBlockModel.rowCount"></a> <h4>AdBlockModel.rowCount</h4> <b>rowCount</b>(<i>parent = QModelIndex()</i>) <p> - Public method to determine the number of rows. + Public method to determine the number of rows. </p><dl> <dt><i>parent</i></dt> <dd> -index of parent (QModelIndex) +index of parent (QModelIndex) </dd> </dl><dl> <dt>Returns:</dt> <dd> -number of rows (integer) +number of rows (integer) </dd> </dl><a NAME="AdBlockModel.rule" ID="AdBlockModel.rule"></a> <h4>AdBlockModel.rule</h4> <b>rule</b>(<i>index</i>) <p> - Public method to get the rule given it's index. + Public method to get the rule given it's index. </p><dl> <dt><i>index</i></dt> <dd> -index of the rule (QModelIndex) +index of the rule (QModelIndex) </dd> </dl><dl> <dt>Returns:</dt> <dd> -reference to the rule (AdBlockRule) +reference to the rule (AdBlockRule) </dd> </dl><a NAME="AdBlockModel.setData" ID="AdBlockModel.setData"></a> <h4>AdBlockModel.setData</h4> <b>setData</b>(<i>index, value, role = Qt.EditRole</i>) <p> - Public method to set the data of a node cell. + Public method to set the data of a node cell. </p><dl> <dt><i>index</i></dt> <dd> -index of the node cell (QModelIndex) +index of the node cell (QModelIndex) </dd><dt><i>value</i></dt> <dd> -value to be set +value to be set </dd><dt><i>role</i></dt> <dd> -role of the data (integer) +role of the data (integer) </dd> </dl><dl> <dt>Returns:</dt> <dd> -flag indicating success (boolean) +flag indicating success (boolean) </dd> </dl><a NAME="AdBlockModel.subscription" ID="AdBlockModel.subscription"></a> <h4>AdBlockModel.subscription</h4> <b>subscription</b>(<i>index</i>) <p> - Public method to get the subscription given it's index. + Public method to get the subscription given it's index. </p><dl> <dt><i>index</i></dt> <dd> -index of the subscription (QModelIndex) +index of the subscription (QModelIndex) </dd> </dl><dl> <dt>Returns:</dt> <dd> -reference to the subscription (AdBlockSubscription) +reference to the subscription (AdBlockSubscription) </dd> </dl><a NAME="AdBlockModel.subscriptionIndex" ID="AdBlockModel.subscriptionIndex"></a> <h4>AdBlockModel.subscriptionIndex</h4> <b>subscriptionIndex</b>(<i>subscription</i>) <p> - Public method to get the index of a subscription. + Public method to get the index of a subscription. </p><dl> <dt><i>subscription</i></dt> <dd> -reference to the subscription (AdBlockSubscription) +reference to the subscription (AdBlockSubscription) </dd> </dl><dl> <dt>Returns:</dt> <dd> -index of the subscription (QModelIndex) +index of the subscription (QModelIndex) </dd> </dl> <div align="right"><a href="#top">Up</a></div>