Documentation/Source/eric5.UI.BrowserModel.html

changeset 231
2e4eb047ae93
parent 103
59137afca666
child 233
9d2677615a3d
--- a/Documentation/Source/eric5.UI.BrowserModel.html	Sat May 08 18:01:31 2010 +0200
+++ b/Documentation/Source/eric5.UI.BrowserModel.html	Sat May 08 20:52:46 2010 +0200
@@ -439,6 +439,9 @@
 <td><a href="#BrowserDirectoryItem.lessThan">lessThan</a></td>
 <td>Public method to check, if the item is less than the other one.</td>
 </tr><tr>
+<td><a href="#BrowserDirectoryItem.name">name</a></td>
+<td>Public method to return the name of the item.</td>
+</tr><tr>
 <td><a href="#BrowserDirectoryItem.setName">setName</a></td>
 <td>Public method to set the directory name.</td>
 </tr>
@@ -490,6 +493,16 @@
 <dd>
 true, if this item is less than other (boolean)
 </dd>
+</dl><a NAME="BrowserDirectoryItem.name" ID="BrowserDirectoryItem.name"></a>
+<h4>BrowserDirectoryItem.name</h4>
+<b>name</b>(<i></i>)
+<p>
+        Public method to return the name of the item.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+name of the item (string)
+</dd>
 </dl><a NAME="BrowserDirectoryItem.setName" ID="BrowserDirectoryItem.setName"></a>
 <h4>BrowserDirectoryItem.setName</h4>
 <b>setName</b>(<i>dinfo, full = True</i>)
@@ -574,6 +587,9 @@
 <td><a href="#BrowserFileItem.moduleName">moduleName</a></td>
 <td>Public method returning the module name.</td>
 </tr><tr>
+<td><a href="#BrowserFileItem.name">name</a></td>
+<td>Public method to return the name of the item.</td>
+</tr><tr>
 <td><a href="#BrowserFileItem.setName">setName</a></td>
 <td>Public method to set the directory name.</td>
 </tr>
@@ -778,6 +794,16 @@
 <dd>
 module name (string)
 </dd>
+</dl><a NAME="BrowserFileItem.name" ID="BrowserFileItem.name"></a>
+<h4>BrowserFileItem.name</h4>
+<b>name</b>(<i></i>)
+<p>
+        Public method to return the name of the item.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+name of the item (string)
+</dd>
 </dl><a NAME="BrowserFileItem.setName" ID="BrowserFileItem.setName"></a>
 <h4>BrowserFileItem.setName</h4>
 <b>setName</b>(<i>finfo, full = True</i>)
@@ -1188,12 +1214,21 @@
 <td><a href="#BrowserModel.__init__">BrowserModel</a></td>
 <td>Constructor</td>
 </tr><tr>
+<td><a href="#BrowserModel.__directoryChanged">__directoryChanged</a></td>
+<td>Private slot to handle the directoryChanged signal of the watcher.</td>
+</tr><tr>
 <td><a href="#BrowserModel.__populateModel">__populateModel</a></td>
 <td>Private method to populate the browser model.</td>
 </tr><tr>
 <td><a href="#BrowserModel._addItem">_addItem</a></td>
 <td>Protected slot to add an item.</td>
 </tr><tr>
+<td><a href="#BrowserModel._addWatchedItem">_addWatchedItem</a></td>
+<td>Protected method to watch an item.</td>
+</tr><tr>
+<td><a href="#BrowserModel._removeWatchedItem">_removeWatchedItem</a></td>
+<td>Protected method to remove a watched item.</td>
+</tr><tr>
 <td><a href="#BrowserModel.addItem">addItem</a></td>
 <td>Puplic slot to add an item.</td>
 </tr><tr>
@@ -1271,6 +1306,16 @@
 <dd>
 reference to parent object (QObject)
 </dd>
+</dl><a NAME="BrowserModel.__directoryChanged" ID="BrowserModel.__directoryChanged"></a>
+<h4>BrowserModel.__directoryChanged</h4>
+<b>__directoryChanged</b>(<i>path</i>)
+<p>
+        Private slot to handle the directoryChanged signal of the watcher.
+</p><dl>
+<dt><i>path</i></dt>
+<dd>
+path of the directory (string)
+</dd>
 </dl><a NAME="BrowserModel.__populateModel" ID="BrowserModel.__populateModel"></a>
 <h4>BrowserModel.__populateModel</h4>
 <b>__populateModel</b>(<i></i>)
@@ -1289,6 +1334,26 @@
 <dd>
 reference to item to add to (BrowserItem)
 </dd>
+</dl><a NAME="BrowserModel._addWatchedItem" ID="BrowserModel._addWatchedItem"></a>
+<h4>BrowserModel._addWatchedItem</h4>
+<b>_addWatchedItem</b>(<i>itm</i>)
+<p>
+        Protected method to watch an item.
+</p><dl>
+<dt><i>itm</i></dt>
+<dd>
+item to be watched (BrowserDirectoryItem)
+</dd>
+</dl><a NAME="BrowserModel._removeWatchedItem" ID="BrowserModel._removeWatchedItem"></a>
+<h4>BrowserModel._removeWatchedItem</h4>
+<b>_removeWatchedItem</b>(<i>itm</i>)
+<p>
+        Protected method to remove a watched item.
+</p><dl>
+<dt><i>itm</i></dt>
+<dd>
+item to be removed (BrowserDirectoryItem)
+</dd>
 </dl><a NAME="BrowserModel.addItem" ID="BrowserModel.addItem"></a>
 <h4>BrowserModel.addItem</h4>
 <b>addItem</b>(<i>itm, parent = QModelIndex()</i>)
@@ -1554,7 +1619,7 @@
 </p><dl>
 <dt><i>dirname</i></dt>
 <dd>
-name of the directory containg the file (string)
+name of the directory containing the file (string)
 </dd>
 </dl><a NAME="BrowserModel.removeToplevelDir" ID="BrowserModel.removeToplevelDir"></a>
 <h4>BrowserModel.removeToplevelDir</h4>

eric ide

mercurial