summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qsymbiansocketengine_p.h
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-04-07 14:10:31 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2011-04-08 15:25:33 (GMT)
commit847df81a5680fe4d71196d0afe5e68e41ae49700 (patch)
tree6568afeb603433649d7e22f023535cb98cf2f887 /src/network/socket/qsymbiansocketengine_p.h
parenta951fb79139498774d021759d0466b4b2ff50e68 (diff)
downloadQt-847df81a5680fe4d71196d0afe5e68e41ae49700.zip
Qt-847df81a5680fe4d71196d0afe5e68e41ae49700.tar.gz
Qt-847df81a5680fe4d71196d0afe5e68e41ae49700.tar.bz2
Implement support for sockets started before the event loop
If there is no event loop when a socket notification is enabled, then invoke the method via a queued connection so that it is run again when the event loop is started. This covers sockets created and having an asynchronous API called before calling QCoreApplication::exec(). Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/socket/qsymbiansocketengine_p.h')
-rw-r--r--src/network/socket/qsymbiansocketengine_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket/qsymbiansocketengine_p.h b/src/network/socket/qsymbiansocketengine_p.h
index bbe1269..85ab54a 100644
--- a/src/network/socket/qsymbiansocketengine_p.h
+++ b/src/network/socket/qsymbiansocketengine_p.h
@@ -134,7 +134,7 @@ public:
bool event(QEvent* ev);
- static const QEvent::Type PostThreadChangeEvent = (QEvent::Type)(QEvent::User + 1);
+ Q_INVOKABLE void startNotifications();
public Q_SLOTS:
// TODO: Why do we do this? This is private Qt implementation stuff anyway, no need for it