Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QValueSpace Namespace Reference
[QtBaseModule]

The QValueSpace namespace provides methods that are useful to Value Space layer implementors. More...

    #include <QValueSpace>

Functions


Detailed Description

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.


Function Documentation

void QValueSpace::initValuespace ()

Initialize the value space. This method only needs to be called by layer implementers to force initialization of the value space.

void QValueSpace::installLayer ( IValueSpaceLayer * layer )

Used by value space layer implementations to install themselves into the system. layer should be a pointer to the layer to install.


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3