Make it possible to use QSocketNotifier in Lighthouse plugins
authorJørgen Lind <jorgen.lind@nokia.com>
Thu, 21 Jul 2011 11:11:55 +0000 (13:11 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Wed, 27 Jul 2011 13:47:49 +0000 (15:47 +0200)
commit86e7c36b504f7c92229229747bdc5587b298a81c
treed94d31d184e196173b7948d2505cd7d2aefa9850
parentb03f5fd47631d234d140b5a792eff80286c91e92
Make it possible to use QSocketNotifier in Lighthouse plugins

The idea is that now the plugin can register the event dispatcher
in its constructor, so it can freely use QSocketNotifier or what not.

If the plugin choses not to do so, then the createFunction will be
called at a later point.

Change-Id: I75fb2ee4180d9619ac94e75fbcf1efd7a2deecbc
Reviewed-on: http://codereview.qt.nokia.com/2287
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/kernel/qguiapplication.cpp
src/gui/kernel/qguiapplication_p.h