Helpviewer/Bookmarks/BookmarksImporters/XbelImporter.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2403
e3d7a861547c
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing an importer for XBEL files. 7 Module implementing an importer for XBEL 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, QXmlStreamReader, QDate, Qt 14 from PyQt4.QtCore import QCoreApplication, QXmlStreamReader, QDate, Qt
13 15
83 Constructor 85 Constructor
84 86
85 @param id source ID (string) 87 @param id source ID (string)
86 @param parent reference to the parent object (QObject) 88 @param parent reference to the parent object (QObject)
87 """ 89 """
88 super().__init__(id, parent) 90 super(XbelImporter, self).__init__(id, parent)
89 91
90 self.__fileName = "" 92 self.__fileName = ""
91 93
92 def setPath(self, path): 94 def setPath(self, path):
93 """ 95 """

eric ide

mercurial