21 """ |
21 """ |
22 Constructor |
22 Constructor |
23 |
23 |
24 @param parent reference to the parent object (QObject) |
24 @param parent reference to the parent object (QObject) |
25 """ |
25 """ |
26 super(AddBookmarkProxyModel, self).__init__(parent) |
26 super().__init__(parent) |
27 |
27 |
28 def columnCount(self, parent): |
28 def columnCount(self, parent): |
29 """ |
29 """ |
30 Public method to return the number of columns. |
30 Public method to return the number of columns. |
31 |
31 |
78 |
78 |
79 @param parent reference to the parent widget (QWidget) |
79 @param parent reference to the parent widget (QWidget) |
80 @param bookmarksManager reference to the bookmarks manager |
80 @param bookmarksManager reference to the bookmarks manager |
81 object (BookmarksManager) |
81 object (BookmarksManager) |
82 """ |
82 """ |
83 super(AddBookmarkDialog, self).__init__(parent) |
83 super().__init__(parent) |
84 self.setupUi(self) |
84 self.setupUi(self) |
85 |
85 |
86 self.__bookmarksManager = bookmarksManager |
86 self.__bookmarksManager = bookmarksManager |
87 self.__addedNode = None |
87 self.__addedNode = None |
88 self.__addFolder = False |
88 self.__addFolder = False |