src/eric7/Documentation/Source/eric7.WebBrowser.UserAgent.UserAgentWriter.html

branch
eric7
changeset 10436
f6881d10e995
parent 9209
b99e7fd55fd3
child 10479
856476537696
equal deleted inserted replaced
10435:c712d09cc839 10436:f6881d10e995
87 <p> 87 <p>
88 Private method to write a user agent file. 88 Private method to write a user agent file.
89 </p> 89 </p>
90 <dl> 90 <dl>
91 91
92 <dt><i>agents</i></dt> 92 <dt><i>agents</i> (dict)</dt>
93 <dd> 93 <dd>
94 dictionary with user agent data (host as key, agent 94 dictionary with user agent data (host as key, agent
95 string as value) 95 string as value)
96 </dd> 96 </dd>
97 </dl> 97 </dl>
98 <dl> 98 <dl>
99 <dt>Return:</dt> 99 <dt>Return:</dt>
100 <dd> 100 <dd>
101 flag indicating success (boolean) 101 flag indicating success
102 </dd>
103 </dl>
104 <dl>
105 <dt>Return Type:</dt>
106 <dd>
107 bool
102 </dd> 108 </dd>
103 </dl> 109 </dl>
104 <a NAME="UserAgentWriter.write" ID="UserAgentWriter.write"></a> 110 <a NAME="UserAgentWriter.write" ID="UserAgentWriter.write"></a>
105 <h4>UserAgentWriter.write</h4> 111 <h4>UserAgentWriter.write</h4>
106 <b>write</b>(<i>fileNameOrDevice, agents</i>) 112 <b>write</b>(<i>fileNameOrDevice, agents</i>)
108 <p> 114 <p>
109 Public method to write a user agent data file. 115 Public method to write a user agent data file.
110 </p> 116 </p>
111 <dl> 117 <dl>
112 118
113 <dt><i>fileNameOrDevice</i></dt> 119 <dt><i>fileNameOrDevice</i> (str or QIODevice)</dt>
114 <dd> 120 <dd>
115 name of the file to write (string) 121 name of the file to write or device to write to
116 or device to write to (QIODevice)
117 </dd> 122 </dd>
118 <dt><i>agents</i></dt> 123 <dt><i>agents</i> (dict)</dt>
119 <dd> 124 <dd>
120 dictionary with user agent data (host as key, agent 125 dictionary with user agent data (host as key, agent
121 string as value) 126 string as value)
122 </dd> 127 </dd>
123 </dl> 128 </dl>
124 <dl> 129 <dl>
125 <dt>Return:</dt> 130 <dt>Return:</dt>
126 <dd> 131 <dd>
127 flag indicating success (boolean) 132 flag indicating success
133 </dd>
134 </dl>
135 <dl>
136 <dt>Return Type:</dt>
137 <dd>
138 bool
128 </dd> 139 </dd>
129 </dl> 140 </dl>
130 <div align="right"><a href="#top">Up</a></div> 141 <div align="right"><a href="#top">Up</a></div>
131 <hr /> 142 <hr />
132 </body></html> 143 </body></html>

eric ide

mercurial