Helpviewer/Bookmarks/BookmarksManager.py

changeset 1131
7781e396c903
parent 1112
8a7d1b9d18db
child 1234
fc3545de8449
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
106 """ 106 """
107 Constructor 107 Constructor
108 108
109 @param parent reference to the parent object (QObject) 109 @param parent reference to the parent object (QObject)
110 """ 110 """
111 QObject.__init__(self, parent) 111 super().__init__(parent)
112 112
113 self.__loaded = False 113 self.__loaded = False
114 self.__saveTimer = AutoSaver(self, self.save) 114 self.__saveTimer = AutoSaver(self, self.save)
115 self.__bookmarkRootNode = None 115 self.__bookmarkRootNode = None
116 self.__toolbar = None 116 self.__toolbar = None
533 533
534 @param bookmarksManager reference to the bookmarks manager (BookmarksManager) 534 @param bookmarksManager reference to the bookmarks manager (BookmarksManager)
535 @param parent reference to the parent node (BookmarkNode) 535 @param parent reference to the parent node (BookmarkNode)
536 @param row row number of bookmark (integer) 536 @param row row number of bookmark (integer)
537 """ 537 """
538 QUndoCommand.__init__(self, 538 super().__init__(
539 QApplication.translate("BookmarksManager", "Remove Bookmark")) 539 QApplication.translate("BookmarksManager", "Remove Bookmark"))
540 540
541 self._row = row 541 self._row = row
542 self._bookmarksManager = bookmarksManager 542 self._bookmarksManager = bookmarksManager
543 try: 543 try:
603 @param node reference to the node to be changed (BookmarkNode) 603 @param node reference to the node to be changed (BookmarkNode)
604 @param newValue new value to be set (string) 604 @param newValue new value to be set (string)
605 @param title flag indicating a change of the title (True) or 605 @param title flag indicating a change of the title (True) or
606 the URL (False) (boolean) 606 the URL (False) (boolean)
607 """ 607 """
608 QUndoCommand.__init__(self) 608 super().__init__()
609 609
610 self._bookmarksManager = bookmarksManager 610 self._bookmarksManager = bookmarksManager
611 self._title = title 611 self._title = title
612 self._newValue = newValue 612 self._newValue = newValue
613 self._node = node 613 self._node = node

eric ide

mercurial