mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
CValueMap generic representation of a value object as a map of QVariants
refs #81
This commit is contained in:
committed by
Mathew Sutcliffe
parent
a280d239e6
commit
bf1837b414
@@ -77,6 +77,20 @@ namespace BlackMisc
|
||||
*/
|
||||
void registerMetadata();
|
||||
|
||||
/*!
|
||||
* Deals with the issue that the BlackMisc metatype does not always start with
|
||||
* the same id, e.g. with GUI enabled:
|
||||
* type: 1024 name: QPaintBufferCacheEntry
|
||||
* type: 1025 .... some classes I cannot foresee
|
||||
* type: 1027 name: BlackMisc::CValueMap
|
||||
*
|
||||
* This is important when marshalling Variants via DBus among different
|
||||
* binaries, as the offset has to be considered
|
||||
*
|
||||
* \return
|
||||
*/
|
||||
int firstBlackMetaType();
|
||||
|
||||
/*!
|
||||
* \brief Init resources
|
||||
*/
|
||||
@@ -125,6 +139,11 @@ namespace BlackMisc
|
||||
// TODO: To be removed if a better solution is found
|
||||
QVariant complexQtTypeFromDbusArgument(const QDBusArgument &argument, int type);
|
||||
|
||||
/*!
|
||||
* \brief displayAllUserTypes
|
||||
*/
|
||||
void displayAllUserMetatypesTypes();
|
||||
|
||||
/*!
|
||||
* \brief Add several hash values
|
||||
* \param values
|
||||
|
||||
Reference in New Issue
Block a user