27 """ |
27 """ |
28 Public method to read a user agent file. |
28 Public method to read a user agent file. |
29 |
29 |
30 @param fileNameOrDevice name of the file to read (string) |
30 @param fileNameOrDevice name of the file to read (string) |
31 or reference to the device to read (QIODevice) |
31 or reference to the device to read (QIODevice) |
32 @return list of speed dial pages (list of Page), number of pages per row (integer) |
32 @return list of speed dial pages (list of Page), number of pages per |
33 and size of the speed dial pages (integer) |
33 row (integer) and size of the speed dial pages (integer) |
34 """ |
34 """ |
35 self.__pages = [] |
35 self.__pages = [] |
36 self.__pagesPerRow = 0 |
36 self.__pagesPerRow = 0 |
37 self.__sdSize = 0 |
37 self.__sdSize = 0 |
38 |
38 |