Home · All Classes · Annotated · Functions

QValueSpace Namespace Reference

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::initValuespaceManager ()

Initialize the value space. This method only needs to be called by the value space manager process, and should be called before any process in the system uses a value space class.

void QValueSpace::installLayer ( IValueSpaceLayer * layer )

This is an overloaded member function, provided for convenience.

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


Copyright © 2006 Trolltech Trademarks
Qtopia 4.1.7