CoreNetworkConfig::CoreNetworkConfig(const QString &objectName, CoreSession *session) : NetworkConfig(objectName, session) { setAllowClientUpdates(true); if (!session) { qWarning() << Q_FUNC_INFO << "No CoreSession set, cannot load network configuration!"; return; } fromVariantMap(Core::getUserSetting(session->user(), objectName).toMap()); }
DccConfig::DccConfig(QObject *parent) : SyncableObject(parent) { static auto regTypes = []() -> bool { qRegisterMetaTypeStreamOperators<IpDetectionMode>("DccConfig::IpDetectionMode"); qRegisterMetaTypeStreamOperators<PortSelectionMode>("DccConfig::PortSelectionMode"); return true; }(); Q_UNUSED(regTypes); renameObject("DccConfig"); setAllowClientUpdates(true); }
void Transfer::init() { static auto regTypes = []() -> bool { qRegisterMetaType<Status>("Transfer::Status"); qRegisterMetaType<Direction>("Transfer::Direction"); qRegisterMetaTypeStreamOperators<Status>("Transfer::Status"); qRegisterMetaTypeStreamOperators<Direction>("Transfer::Direction"); return true; }(); Q_UNUSED(regTypes); renameObject(QString("Transfer/%1").arg(_uuid.toString())); setAllowClientUpdates(true); }
CoreBufferViewConfig::CoreBufferViewConfig(int bufferViewId, const QVariantMap &properties, QObject *parent) : BufferViewConfig(bufferViewId, properties, parent) { setAllowClientUpdates(true); }
CoreBufferViewConfig::CoreBufferViewConfig(int bufferViewId, QObject *parent) : BufferViewConfig(bufferViewId, parent) { setAllowClientUpdates(true); }
CoreCertManager::CoreCertManager(CoreIdentity &identity) : CertManager(identity.id()), identity(identity) { setAllowClientUpdates(true); }
void Transfer::init() { renameObject(QString("Transfer/%1").arg(_uuid.toString())); setAllowClientUpdates(true); }