105 <p> |
105 <p> |
106 Public method to read a user agent file. |
106 Public method to read a user agent file. |
107 </p> |
107 </p> |
108 <dl> |
108 <dl> |
109 |
109 |
110 <dt><i>fileNameOrDevice</i></dt> |
110 <dt><i>fileNameOrDevice</i> (str or QIODevice)</dt> |
111 <dd> |
111 <dd> |
112 name of the file to read (string) |
112 name of the file to read or reference to the device |
113 or reference to the device to read (QIODevice) |
113 to read |
114 </dd> |
114 </dd> |
115 </dl> |
115 </dl> |
116 <dl> |
116 <dl> |
117 <dt>Return:</dt> |
117 <dt>Return:</dt> |
118 <dd> |
118 <dd> |
119 dictionary with user agent data (host as key, agent string as |
119 dictionary with user agent data (host as key, agent string as value) |
120 value) |
120 </dd> |
|
121 </dl> |
|
122 <dl> |
|
123 <dt>Return Type:</dt> |
|
124 <dd> |
|
125 dict |
121 </dd> |
126 </dd> |
122 </dl> |
127 </dl> |
123 <div align="right"><a href="#top">Up</a></div> |
128 <div align="right"><a href="#top">Up</a></div> |
124 <hr /> |
129 <hr /> |
125 </body></html> |
130 </body></html> |