diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-01-21 15:46:01 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2011-01-21 15:47:59 (GMT) |
commit | b81b429cb43e19b2211990d0aab80e78e08d87f7 (patch) | |
tree | 1f47f5a85b63b83d39a48dc9fe62de3b514c096f /src/network/socket/qsymbiansocketengine_p.h | |
parent | b10fe4c9efa0767c9591fa19c86ff7e5c3f88860 (diff) | |
download | Qt-b81b429cb43e19b2211990d0aab80e78e08d87f7.zip Qt-b81b429cb43e19b2211990d0aab80e78e08d87f7.tar.gz Qt-b81b429cb43e19b2211990d0aab80e78e08d87f7.tar.bz2 |
Implement moveToThread in the symbian socket engine
The active object used for socket notifications (QAsyncSelect) is
thread specific, so it needs to be deleted and recreated in the new thread.
Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/socket/qsymbiansocketengine_p.h')
-rw-r--r-- | src/network/socket/qsymbiansocketengine_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/socket/qsymbiansocketengine_p.h b/src/network/socket/qsymbiansocketengine_p.h index f36b7dd..8a0b8df 100644 --- a/src/network/socket/qsymbiansocketengine_p.h +++ b/src/network/socket/qsymbiansocketengine_p.h @@ -135,6 +135,10 @@ public: bool isExceptionNotificationEnabled() const; void setExceptionNotificationEnabled(bool enable); + bool event(QEvent* ev); + + static const QEvent::Type PostThreadChangeEvent = (QEvent::Type)(QEvent::User + 1); + public Q_SLOTS: // TODO: Why do we do this? This is private Qt implementation stuff anyway, no need for it // non-virtual override; |