2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing an importer for HTML bookmark files. | 7 Module implementing an importer for HTML bookmark files. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 import os | 12 import os |
11 | 13 |
12 from PyQt4.QtCore import QCoreApplication, QDate, Qt | 14 from PyQt4.QtCore import QCoreApplication, QDate, Qt |
13 | 15 |
50 Constructor | 52 Constructor |
51 | 53 |
52 @param id source ID (string) | 54 @param id source ID (string) |
53 @param parent reference to the parent object (QObject) | 55 @param parent reference to the parent object (QObject) |
54 """ | 56 """ |
55 super().__init__(id, parent) | 57 super(HtmlImporter, self).__init__(id, parent) |
56 | 58 |
57 self.__fileName = "" | 59 self.__fileName = "" |
58 self.__inFile = None | 60 self.__inFile = None |
59 | 61 |
60 def setPath(self, path): | 62 def setPath(self, path): |