2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing a class to read login data files. | 7 Module implementing a class to read login data files. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtCore import QXmlStreamReader, QIODevice, QFile, QCoreApplication, QUrl | 12 from PyQt4.QtCore import QXmlStreamReader, QIODevice, QFile, QCoreApplication, QUrl |
11 | 13 |
12 | 14 |
13 class PasswordReader(QXmlStreamReader): | 15 class PasswordReader(QXmlStreamReader): |
16 """ | 18 """ |
17 def __init__(self): | 19 def __init__(self): |
18 """ | 20 """ |
19 Constructor | 21 Constructor |
20 """ | 22 """ |
21 super().__init__() | 23 super(PasswordReader, self).__init__() |
22 | 24 |
23 def read(self, fileNameOrDevice): | 25 def read(self, fileNameOrDevice): |
24 """ | 26 """ |
25 Public method to read a login data file. | 27 Public method to read a login data file. |
26 | 28 |