23 |
23 |
24 def read(self, fileNameOrDevice): |
24 def read(self, fileNameOrDevice): |
25 """ |
25 """ |
26 Public method to read a login data file. |
26 Public method to read a login data file. |
27 |
27 |
28 @param fileNameOrDevice name of the file to read (string) |
28 @param fileNameOrDevice name of the file to read |
|
29 @type str |
29 or reference to the device to read (QIODevice) |
30 or reference to the device to read (QIODevice) |
30 @return tuple containing the logins, forms and never URLs |
31 @return tuple containing the logins, forms and never URLs |
|
32 @rtype tuple of (dict, dict, list) |
31 """ |
33 """ |
32 self.__logins = {} |
34 self.__logins = {} |
33 self.__loginForms = {} |
35 self.__loginForms = {} |
34 self.__never = [] |
36 self.__never = [] |
35 |
37 |