1 #ifndef QTDATASYNC_DEFAULTS_H 2 #define QTDATASYNC_DEFAULTS_H 4 #include <QtCore/qglobal.h> 5 #include <QtCore/qobject.h> 6 #include <QtCore/qdir.h> 7 #include <QtCore/qsettings.h> 8 #include <QtCore/qloggingcategory.h> 9 #include <QtCore/qdebug.h> 11 #include <QtRemoteObjects/qremoteobjectnode.h> 13 #include "QtDataSync/qtdatasync_global.h" 14 #include "QtDataSync/exception.h" 15 #include "QtDataSync/setup.h" 26 class DatabaseRefPrivate;
59 class DefaultsPrivate;
64 friend class DefaultsPrivate;
100 bool isValid()
const;
110 QDir storageDir()
const;
112 QUrl remoteAddress()
const;
120 const ConflictResolver *conflictResolver()
const;
122 QVariant property(PropertyKey key)
const;
130 DatabaseRef aquireDatabase(
QObject *
object)
const;
133 EmitterAdapter *createEmitter(
QObject *parent =
nullptr)
const;
143 #endif // QTDATASYNC_DEFAULTS_H The configuration to be used to connect to the remote.
A wrapper around QSqlDatabase to manage the connections.
The generation parameter for the signature key.
The policiy for how to handle conflicts.
Specify whether deleted datasets should persist.
The algorithmic scheme to be used for new signature keys.
The size of the internal database cache, in bytes.
The primary namespace of the QtDataSync library.
SignatureScheme
The signature schemes supported for Setup::signatureScheme.
The algorithmic scheme to be used for new encryption keys.
The name of the preferred keystore provider.
A helper class to get defaults per datasync instance (threadsafe)
EncryptionScheme
The encryption schemes supported for Setup::encryptionScheme.
The algorithmic scheme to be used for new secret exchange keys (which are symmetric) ...
PropertyKey
The keys of special properties set on the defaults.
The ssl configuration to be used to connect to the remote.
The generation parameter for the encryption key.
The size in bytes for the secret exchange key (which is symmetric)
A Helper class for simple and structured logging.