summaryrefslogtreecommitdiffstats
path: root/tests/auto/qudpsocket
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-03-16 18:59:45 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2011-03-17 14:57:50 (GMT)
commit1adef92e1b1ba9872c9676efd701eb0fd0a3a907 (patch)
tree03bbbf809ce7e65474e39fd752de5147544940a8 /tests/auto/qudpsocket
parent13f415e7d54ef8e2aaccabfb04f29ccfde0520df (diff)
downloadQt-1adef92e1b1ba9872c9676efd701eb0fd0a3a907.zip
Qt-1adef92e1b1ba9872c9676efd701eb0fd0a3a907.tar.gz
Qt-1adef92e1b1ba9872c9676efd701eb0fd0a3a907.tar.bz2
Implement QEventLoop::ExcludeSocketNotifiers for symbian socket engine
As the symbian socket engine is driven by an active object in the QtNetwork dll, this needs to hook into the event dispatcher in the QtCore dll. The QActiveObject base class is now a private export from QtCore The method of deferring socket events now works with any kind of QActiveObject, and not only the QSocketActiveObject (which handles "open C" sockets) The base class has a new function, to check if socket events are blocked. If so, it adds the active object to the deferred queue. The derived class should return from it's RunL in this case, which will be called again later. (same usage as the maybeQueueForLater function) reactivateAndComplete function in the event dispatcher is changed to complete the active object again with the same status code as originally. Previously it always used KErrNone, which is not ok for QAsyncSelect as it needs to check the error code from the asynchronous call. Reviewed-by: Markus Goetz Reviewed-by: mread
Diffstat (limited to 'tests/auto/qudpsocket')
0 files changed, 0 insertions, 0 deletions