Home · All Classes · All Functions ·

QValueSpace Namespace Reference

The QValueSpace namespace contains miscellaneous identifiers used throughtout the Publish and Subscribe API. More...

    #include <QValueSpace>

Types

Macros


Detailed Description

The QValueSpace namespace contains miscellaneous identifiers used throughtout the Publish and Subscribe API.


Type Documentation

enum QValueSpace::LayerOption
flags QValueSpace::LayerOptions

This enum describes the behaviour of the Value Space layer. In addition this enum is used as a filter when constructing a QValueSpacePublisher or QValueSpaceSubscriber.

ConstantValueDescription
QValueSpace::UnspecifiedLayer0x0000Used as a filter to specify that any layer should be used.
QValueSpace::PermanentLayer0x0001Indicates that the layer uses a permanent backing store. When used as a filter only layers that use a permanent backing store will be used.
Values stored in a layer with this option will persist with in the layer after the QValueSpacePublisher that published them is destroyed. Whether the value persists in the layer after the server or device is restarted is system dependent.
This option and the TransientLayer option are mutually exclusive.
QValueSpace::TransientLayer0x0002Indicates that the layer does not use a permanent backing store. When used as a filter only layers that do not use permanent backing stores will be used.
Values stored in a layer with this option will be removed when the QValueSpacePublisher that published them is destroyed.
This option and the PermanentLayer option are mutually exclusive.
QValueSpace::WritableLayer0x0004Indicates that the layer can update its contents. When used as a filter only layers that are writable will be used.
Applications can use QValueSpacePublisher to publish values to layers that have this option.
This option and the ReadOnlyLayer option are mutually exclusive.
QValueSpace::ReadOnlyLayer0x0008Indicates that the layer cannot update its contents. When used as a filter only layers that are read-only will be used.
Applications can not publish values to layers with this option.
This option and the WritableLayer option are mutually exclusive.

The LayerOptions type is a typedef for QFlags<LayerOption>. It stores an OR combination of LayerOption values.


Macro Documentation

QVALUESPACE_CONTEXTKIT_LAYER

The UUID of the ContextKit layer as a QUuid. The actual UUID values is {2c769b9e-d949-4cd1-848f-d32241fe07ff}.

This value can be passed to the constructor of QValueSpacePublisher or QValueSpaceSubscriber to force the constructed object to only access the ContextKit layer.

You can test if the ContextKit layer is available by checking if the list returned by QValueSpace::availableLayers() contains this value.

QVALUESPACE_NONVOLATILEREGISTRY_LAYER

The UUID of the Non-Volatile Registry layer as a QUuid. The actual UUID value is {8e29561c-a0f0-4e89-ba56-080664abc017}.

This value can be passed to the constructor of QValueSpacePublisher or QValueSpaceSubscriber to force the constructed object to only access the Non-Volatile Registry layer.

You can test if the Non-Volatile Registry layer is available by checking if the list returned by QValueSpace::availableLayers() contains this value. The Non-Volatile Registry layer is only available on Windows platforms.

QVALUESPACE_SHAREDMEMORY_LAYER

The UUID of the Shared Memory layer as a QUuid. The actual UUID value is {d81199c1-6f60-4432-934e-0ce4d37ef252}.

This value can be passed to the constructor of QValueSpacePublisher or QValueSpaceSubscriber to force the constructed object to only access the Shared Memory layer.

You can test if the Shared Memory layer is available by checking if the list returned by QValueSpace::availableLayers() contains this value.

QVALUESPACE_SYMBIAN_SETTINGS_LAYER

The UUID of the Symbian Settings layer as a QUuid. The actual UUID value is {40d7b059-66ac-442f-b222-9c8ab98b9c2d}.

This value can be passed to the constructor of QValueSpacePublisher or QValueSpaceSubscriber to force the constructed object to only access the Symbian Settings layer.

You can test if the Symbian Settings layer is available by checking if the list returned by QValueSpace::availableLayers() contains this value.

QVALUESPACE_VOLATILEREGISTRY_LAYER

The UUID of the Volatile Registry layer as a QUuid. The actual UUID value is {8ceb5811-4968-470f-8fc2-264767e0bbd9}.

This value can be passed to the constructor of QValueSpacePublisher or QValueSpaceSubscriber to force the constructed object to only access the Volatile Registry layer.

You can test if the Volatile Registry layer is available by checking if the list returned by QValueSpace::availableLayers() contains this value. The Volatile Registry layer is only available on Windows platforms.


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.1