summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorShane Kearns <ext-shane.2.kearns@nokia.com>2012-05-31 16:09:38 +0100
committerQt by Nokia <qt-info@nokia.com>2012-06-01 15:19:42 +0200
commitbae1613c4c3d8c38b90ed2ba5c1b149e1bc87987 (patch)
treecb7d38a1a0cb1ca84e7558f374ff2bb29d68a1fa /src/plugins
parent3580168c3e357c2289acddc5f2515a3ad306ef2b (diff)
QNAM - maintain a weak reference to the QNetworkSession
When handling signals from the session, a pointer is needed. Also the QNetworkReplyImpl needs to access the manager's session. So, the manager should have a strong and weak reference. The strong reference is held during connection establishment. The weak reference is held all the time, though it will become null when the session is destroyed in idle. The non static member function getNetworkSession() is used to create strong references from the weak reference where required. Task-number: ou1cimx#1004278 Change-Id: I4b5b36b1d996b98e659d993969006c61b4440c15 Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions