Messagelib
9#include "webengineviewer_export.h"
12namespace WebEngineViewer
16struct WEBENGINEVIEWER_EXPORT UpdateDataBaseInfo {
18 [[nodiscard]]
bool isValid()
const;
20 enum ResponseType : uint8_t {
26 enum CompressionType : uint8_t {
27 UnknownCompression = 0,
32 QList<Addition> additionList;
33 QList<Removal> removalList;
34 QString minimumWaitDuration;
36 QString threatEntryType;
37 ResponseType responseType =
Unknown;
39 QString newClientState;
42 [[nodiscard]]
bool operator==(
const UpdateDataBaseInfo &other)
const;
45struct WEBENGINEVIEWER_EXPORT RiceDeltaEncoding {
47 [[nodiscard]]
bool operator==(
const RiceDeltaEncoding &other)
const;
48 [[nodiscard]]
bool isValid()
const;
49 QByteArray firstValue;
50 QByteArray encodingData;
55struct WEBENGINEVIEWER_EXPORT Addition {
57 [[nodiscard]]
bool isValid()
const;
58 [[nodiscard]]
bool operator==(
const Addition &other)
const;
60 [[nodiscard]]
static bool lessThan(
const Addition &s1,
const Addition &s2);
61 QByteArray hashString;
62 RiceDeltaEncoding riceDeltaEncoding;
63 UpdateDataBaseInfo::CompressionType compressionType;
67struct WEBENGINEVIEWER_EXPORT Removal {
69 [[nodiscard]]
bool operator==(
const Removal &other)
const;
70 [[nodiscard]]
bool isValid()
const;
71 QList<quint32> indexes;
72 RiceDeltaEncoding riceDeltaEncoding;
73 UpdateDataBaseInfo::CompressionType compressionType;
76Q_DECLARE_METATYPE(WebEngineViewer::UpdateDataBaseInfo)
77Q_DECLARE_METATYPE(WebEngineViewer::UpdateDataBaseInfo::CompressionType)
78Q_DECLARE_TYPEINFO(WebEngineViewer::Addition, Q_RELOCATABLE_TYPE);
79Q_DECLARE_TYPEINFO(WebEngineViewer::Removal, Q_RELOCATABLE_TYPE);
80Q_DECLARE_TYPEINFO(WebEngineViewer::RiceDeltaEncoding, Q_RELOCATABLE_TYPE);
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
bool isValid(QStringView ifopt)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:47:10 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.