eric7.WebBrowser.SpeedDial.SpeedDialReader
Module implementing a class to read speed dial data files.
Global Attributes
Classes
SpeedDialReader |
Class implementing a reader object for speed dial data files. |
Functions
SpeedDialReader
Class implementing a reader object for speed dial data files.
Derived from
QXmlStreamReader
Class Attributes
Class Methods
Methods
Static Methods
SpeedDialReader (Constructor)
SpeedDialReader()
Constructor
SpeedDialReader.__readSpeedDial
__readSpeedDial()
Private method to read the speed dial data.
SpeedDialReader.__skipUnknownElement
__skipUnknownElement()
Private method to skip over all unknown elements.
SpeedDialReader.read
read(fileNameOrDevice)
Public method to read a user agent file.
- fileNameOrDevice (str or QIODevice)
-
name of the file to read or reference to
the device to read
- Return:
-
list of speed dial pages, number of pages per row and
size of the speed dial pages
- Return Type:
-
tuple of (list of Page, int, int)