2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing a class to write Netscape HTML bookmark files. | 7 Module implementing a class to write Netscape HTML bookmark files. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtCore import QObject, QIODevice, QFile | 12 from PyQt4.QtCore import QObject, QIODevice, QFile |
11 | 13 |
12 from .BookmarkNode import BookmarkNode | 14 from .BookmarkNode import BookmarkNode |
13 | 15 |
22 | 24 |
23 def __init__(self): | 25 def __init__(self): |
24 """ | 26 """ |
25 Constructor | 27 Constructor |
26 """ | 28 """ |
27 super().__init__() | 29 super(NsHtmlWriter, self).__init__() |
28 | 30 |
29 def write(self, fileNameOrDevice, root): | 31 def write(self, fileNameOrDevice, root): |
30 """ | 32 """ |
31 Public method to write an Netscape HTML bookmark file. | 33 Public method to write an Netscape HTML bookmark file. |
32 | 34 |