1 #ifndef QTDATASYNC_OBJECTKEY_H 2 #define QTDATASYNC_OBJECTKEY_H 4 #include <QtCore/qmetatype.h> 6 #include "QtDataSync/qtdatasync_global.h" 25 bool operator==(
const ObjectKey &other)
const;
27 bool operator!=(
const ObjectKey &other)
const;
31 uint Q_DATASYNC_EXPORT
qHash(
const ObjectKey &key, uint seed = 0);
44 #endif // QTDATASYNC_OBJECTKEY_H
Q_DATASYNC_EXPORT QDataStream & operator<<(QDataStream &stream, const DeviceInfo &deviceInfo)
Stream operator to stream into a QDataStream.
Defines a unique key to identify a dataset globally.
The primary namespace of the QtDataSync library.
QByteArray typeName
The name of the type the dataset is of.
Q_DATASYNC_EXPORT QDataStream & operator>>(QDataStream &stream, DeviceInfo &deviceInfo)
Stream operator to stream out of a QDataStream.
uint Q_DATASYNC_EXPORT qHash(const ObjectKey &key, uint seed=0)
Overload of qHash to use ObjectKey with QHash.
QString id
The id of the dataset (it's USER property)