QtDataSync
4.2.0
A simple offline-first synchronisation framework, to synchronize data of Qt applications between devices
|
Defines a unique key to identify a dataset globally. More...
#include <objectkey.h>
Public Member Functions | |
ObjectKey (const QByteArray &typeName={}, const QString &id={}) | |
Default constructor, with optional parameters. | |
QByteArray | hashed () const |
Creates a hash of the object key to anonymize ize. | |
bool | operator== (const ObjectKey &other) const |
Equality operator. | |
bool | operator!= (const ObjectKey &other) const |
Inequality operator. | |
Public Attributes | |
QByteArray | typeName |
The name of the type the dataset is of. | |
QString | id |
The id of the dataset (it's USER property) | |
Defines a unique key to identify a dataset globally.
Definition at line 11 of file objectkey.h.