CValueMap generic representation of a value object as a map of QVariants

refs #81
This commit is contained in:
Klaus Basan
2013-12-22 20:47:01 +00:00
committed by Mathew Sutcliffe
parent a280d239e6
commit bf1837b414
6 changed files with 466 additions and 0 deletions

View File

@@ -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