Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QValueSpace namespace provides methods that are useful to Value Space layer implementors. More...
#include <QValueSpace>
The QValueSpace namespace provides methods that are useful to Value Space layer implementors.
Value Space layers that are available at link time can be automatically installed using QVALUESPACE_AUTO_INSTALL_LAYER(name) macro. The method IValueSpaceLayer * name::instance() must exist and return a pointer to the layer to install. The QVALUESPACE_AUTO_INSTALL_LAYER(name) macro will only invoke this method after QApplication has been constructed, making it safe to use any Qt class in your layer's constructor.
Initialize the value space. This method only needs to be called by layer implementers to force initialization of the value space.
Used by value space layer implementations to install themselves into the system. layer should be a pointer to the layer to install.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |