DuiValueSpace, the old subscription library providing the keys, is deprecated. This library is a replacement for it, providing better API and better implementation while maintaining the same core ideas and structure.
DuiValueSpaceItem topEdge("Context.Screen.TopEdge"); QObject::connect(&topEdge, SIGNAL(valueChanged()), this, SLOT(topEdgeChanged()));
becomes:
ContextProperty topEdge("Screen.TopEdge"); QObject::connect(&topEdge, SIGNAL(valueChanged()), this, SLOT(topEdgeChanged()));
The following code for listing the available context keys:
DuiValueSpaceItem::listKeys();
becomes:
Context.Screen.TopEdge Context.Screen.IsCovered
This 'Context.' has been dropped now from libcontextsubscriber and all the provider packages. Providers now explicitly provide properties with keys like:
Screen.TopEdge Screen.IsCovered
For compatibility reasons the 'Context.' prefix is still supported in newer releases of DuiValueSpace. The DuiValueSpace library transparently adds the 'Context.' prefix to all access functions.
A call to:
DuiValueSpaceItem topEdge("Context.Screen.TopEdge");
...is internally in DuiValueSpace converted to actual Screen.TopEdge
wire access. This mechanism has been introduced to make the DuiValueSpace and libcontextsubscriber libraries parallel-installable.
It's expected that all DuiValueSpace clients migrate to libcontextsubscriber eventually and DuiValueSpace library will be removed.