2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing a base class for the bookmarks importers. | 7 Module implementing a base class for the bookmarks importers. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtCore import QObject | 12 from PyQt4.QtCore import QObject |
11 | 13 |
12 | 14 |
13 class BookmarksImporter(QObject): | 15 class BookmarksImporter(QObject): |
19 Constructor | 21 Constructor |
20 | 22 |
21 @param id source ID (string) | 23 @param id source ID (string) |
22 @param parent reference to the parent object (QObject) | 24 @param parent reference to the parent object (QObject) |
23 """ | 25 """ |
24 super().__init__(parent) | 26 super(BookmarksImporter, self).__init__(parent) |
25 | 27 |
26 self._path = "" | 28 self._path = "" |
27 self._file = "" | 29 self._file = "" |
28 self._error = False | 30 self._error = False |
29 self._errorString = "" | 31 self._errorString = "" |