Helpviewer/Bookmarks/BookmarksImporters/BookmarksImporter.py

changeset 5587
ea526b78ee6c
parent 5389
9b1c800daff3
child 6048
82ad8ec9548c
equal deleted inserted replaced
5586:0e5421d679e7 5587:ea526b78ee6c
14 14
15 class BookmarksImporter(QObject): 15 class BookmarksImporter(QObject):
16 """ 16 """
17 Class implementing the base class for the bookmarks importers. 17 Class implementing the base class for the bookmarks importers.
18 """ 18 """
19 def __init__(self, id="", parent=None): 19 def __init__(self, sourceId="", parent=None):
20 """ 20 """
21 Constructor 21 Constructor
22 22
23 @param id source ID (string) 23 @param sourceId source ID (string)
24 @param parent reference to the parent object (QObject) 24 @param parent reference to the parent object (QObject)
25 """ 25 """
26 super(BookmarksImporter, self).__init__(parent) 26 super(BookmarksImporter, self).__init__(parent)
27 27
28 self._path = "" 28 self._path = ""
29 self._file = "" 29 self._file = ""
30 self._error = False 30 self._error = False
31 self._errorString = "" 31 self._errorString = ""
32 self._id = id 32 self._id = sourceId
33 33
34 def setPath(self, path): 34 def setPath(self, path):
35 """ 35 """
36 Public method to set the path of the bookmarks file or directory. 36 Public method to set the path of the bookmarks file or directory.
37 37

eric ide

mercurial