@@ -147,42 +147,79 @@ need to be handled on the main thread. See in-depth discussion below.
147
147
148
148
void insertProxyFactory( QNetworkProxyFactory *factory /Transfer/ );
149
149
%Docstring
150
- insert a factory into the proxy factories list
150
+ Inserts a ``factory`` into the proxy factories list.
151
+
152
+ Ownership of ``factory`` is transferred to the manager.
153
+
154
+ .. seealso:: :py:func:`removeProxyFactory`
155
+
156
+ .. seealso:: :py:func:`proxyFactories`
151
157
%End
152
158
153
159
void removeProxyFactory( QNetworkProxyFactory *factory /TransferBack/ );
154
160
%Docstring
155
- remove a factory from the proxy factories list
161
+ Removes a ``factory`` from the proxy factories list.
162
+
163
+ .. seealso:: :py:func:`insertProxyFactory`
164
+
165
+ .. seealso:: :py:func:`proxyFactories`
156
166
%End
157
167
158
168
const QList<QNetworkProxyFactory *> proxyFactories() const;
159
169
%Docstring
160
- retrieve proxy factory list
170
+ Returns a list of proxy factories used by the manager.
171
+
172
+ .. seealso:: :py:func:`insertProxyFactory`
173
+
174
+ .. seealso:: :py:func:`proxyFactories`
161
175
%End
162
176
163
177
const QNetworkProxy &fallbackProxy() const;
164
178
%Docstring
165
- retrieve fall back proxy (for urls that no factory returned proxies for)
179
+ Returns the fallback proxy used by the manager.
180
+
181
+ The fallback proxy is used for URLs which no other proxy factory returned proxies for.
182
+
183
+ .. seealso:: :py:func:`proxyFactories`
184
+
185
+ .. seealso:: :py:func:`setFallbackProxyAndExcludes`
166
186
%End
167
187
168
188
QStringList excludeList() const;
169
189
%Docstring
170
- retrieve exclude list (urls shouldn't use the fallback proxy)
190
+ Returns the proxy exclude list.
191
+
192
+ This list consists of the beginning of URL strings which will not use the fallback proxy.
193
+
194
+ .. seealso:: :py:func:`fallbackProxy`
195
+
196
+ .. seealso:: :py:func:`setFallbackProxyAndExcludes`
171
197
%End
172
198
173
199
void setFallbackProxyAndExcludes( const QNetworkProxy &proxy, const QStringList &excludes );
174
200
%Docstring
175
- Sets fallback proxy and URL that shouldn't use it.
201
+ Sets the fallback ``proxy`` and URLs which shouldn't use it.
202
+
203
+ The fallback proxy is used for URLs which no other proxy factory returned proxies for.
204
+ The ``excludes`` list specifies the beginning of URL strings which will not use this fallback proxy.
205
+
206
+ .. seealso:: :py:func:`fallbackProxy`
207
+
208
+ .. seealso:: :py:func:`excludeList`
176
209
%End
177
210
178
211
static QString cacheLoadControlName( QNetworkRequest::CacheLoadControl control );
179
212
%Docstring
180
- Gets name for QNetworkRequest.CacheLoadControl
213
+ Returns the name for QNetworkRequest.CacheLoadControl.
214
+
215
+ .. seealso:: :py:func:`cacheLoadControlFromName`
181
216
%End
182
217
183
218
static QNetworkRequest::CacheLoadControl cacheLoadControlFromName( const QString &name );
184
219
%Docstring
185
- Gets QNetworkRequest.CacheLoadControl from name
220
+ Returns QNetworkRequest.CacheLoadControl from a ``name``.
221
+
222
+ .. seealso:: :py:func:`cacheLoadControlName`
186
223
%End
187
224
188
225
void setupDefaultProxyAndCache( Qt::ConnectionType connectionType = Qt::BlockingQueuedConnection );
@@ -196,7 +233,7 @@ for the constructor of this class.
196
233
197
234
bool useSystemProxy() const;
198
235
%Docstring
199
- Returns whether the system proxy should be used
236
+ Returns whether the system proxy should be used.
200
237
%End
201
238
202
239
signals:
0 commit comments