diff -r c712d09cc839 -r f6881d10e995 src/eric7/WebBrowser/Bookmarks/BookmarkNode.py --- a/src/eric7/WebBrowser/Bookmarks/BookmarkNode.py Fri Dec 22 13:57:47 2023 +0100 +++ b/src/eric7/WebBrowser/Bookmarks/BookmarkNode.py Fri Dec 22 17:24:07 2023 +0100 @@ -30,8 +30,10 @@ """ Constructor - @param type_ type of the bookmark node (BookmarkNode.Type) - @param parent reference to the parent node (BookmarkNode) + @param type_ type of the bookmark node + @type BookmarkNode.Type + @param parent reference to the parent node + @type BookmarkNode """ self.url = "" self.title = "" @@ -53,7 +55,8 @@ """ Public method to get the bookmark's type. - @return bookmark type (BookmarkNode.Type) + @return bookmark type + @rtype BookmarkNode.Type """ return self._type @@ -61,7 +64,8 @@ """ Public method to set the bookmark's type. - @param type_ type of the bookmark node (BookmarkNode.Type) + @param type_ type of the bookmark node + @type BookmarkNode.Type """ self._type = type_ @@ -69,7 +73,8 @@ """ Public method to get the list of child nodes. - @return list of all child nodes (list of BookmarkNode) + @return list of all child nodes + @rtype list of BookmarkNode """ return self._children[:] @@ -77,7 +82,8 @@ """ Public method to get a reference to the parent node. - @return reference to the parent node (BookmarkNode) + @return reference to the parent node + @rtype BookmarkNode """ return self._parent @@ -85,8 +91,10 @@ """ Public method to add/insert a child node. - @param child reference to the node to add (BookmarkNode) - @param offset position where to insert child (integer, -1 = append) + @param child reference to the node to add + @type BookmarkNode + @param offset position where to insert child (-1 = append) + @type int """ if child._type == BookmarkNode.Root: return @@ -104,7 +112,8 @@ """ Public method to remove a child node. - @param child reference to the child node (BookmarkNode) + @param child reference to the child node + @type BookmarkNode """ child._parent = None if child in self._children: