mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Regenerate sip with latest sipify
This commit is contained in:
parent
410d85539a
commit
402f3ffdd5
@ -43,14 +43,14 @@ type that is used to handle signals that might require user interaction and ther
|
||||
need to be handled on the main thread. See in-depth discussion below.
|
||||
|
||||
:param connectionType: In most cases the default of using a ``Qt.BlockingQueuedConnection``
|
||||
is ok, to make a background thread wait for the main thread to answer such a request is
|
||||
fine and anything else is dangerous.
|
||||
However, in case the request was started on the main thread, one should execute a
|
||||
local event loop in a helper thread and freeze the main thread for the duration of the
|
||||
download. In this case, if an authentication request is sent from the background thread
|
||||
network access manager, the background thread should be blocked, the main thread be woken
|
||||
up, processEvents() executed once, the main thread frozen again and the background thread
|
||||
continued.
|
||||
is ok, to make a background thread wait for the main thread to answer such a request is
|
||||
fine and anything else is dangerous.
|
||||
However, in case the request was started on the main thread, one should execute a
|
||||
local event loop in a helper thread and freeze the main thread for the duration of the
|
||||
download. In this case, if an authentication request is sent from the background thread
|
||||
network access manager, the background thread should be blocked, the main thread be woken
|
||||
up, processEvents() executed once, the main thread frozen again and the background thread
|
||||
continued.
|
||||
%End
|
||||
|
||||
QgsNetworkAccessManager( QObject *parent = 0 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user