Loads TAO resources related with Qt. More...
#include <QtResource_Loader.h>
Public Member Functions | |
QtResource_Loader (QApplication *qapp) | |
virtual | ~QtResource_Loader (void) |
Loads TAO resources related with Qt.
This class changes the default reactor implementation into ACE_QtReactor one by calling TAO_ORB_Core::set_gui_resource_factory. User should create an instance of this class before ORB_init when the TAO server has has to be integrated within Qt event loop.
Please notice, this class has to be created in the main Qt thread, because set_gui_resource_factory creates a variable in TSS. This way QtReactor is instantiated only in Qt event loop thread.
Definition at line 51 of file QtResource_Loader.h.
TAO::QtResource_Loader::QtResource_Loader | ( | QApplication * | qapp | ) |
Definition at line 4 of file QtResource_Loader.cpp.
: QtResource_Loader.cpp 73516 2006-07-14 21:10:15Z jwillemsen $"); TAO_BEGIN_VERSIONED_NAMESPACE_DECL namespace TAO
TAO::QtResource_Loader::~QtResource_Loader | ( | void | ) | [virtual] |
Definition at line 14 of file QtResource_Loader.cpp.
{ QtResource_Factory *tmp = 0;