WebEngineViewer::CreatePhishingUrlDataBaseJob Class
The CreatePhishingUrlDataBaseJob class Author: Laurent Montel <montel@kde.org>. More...
| Header: | #include <WebEngineViewer/CreatePhishingUrlDataBaseJob> |
| CMake: | find_package(KPim6WebEngineViewer REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::WebEngineViewer) |
| Inherits: | QObject |
Public Functions
| virtual | ~CreatePhishingUrlDataBaseJob() override |
| QByteArray | jsonRequest() const |
| void | parseResult(const QByteArray &value) |
| void | setContraintsCompressionType(WebEngineViewer::CreatePhishingUrlDataBaseJob::ContraintsCompressionType type) |
| void | setDataBaseDownloadNeeded(WebEngineViewer::CreatePhishingUrlDataBaseJob::DataBaseDownloadType type) |
| void | setDataBaseState(const QString &value) |
| void | start() |
Signals
| void | debugJson(const QByteArray &ba) |
| void | debugJsonResult(const QByteArray &ba) |
| void | finished(const WebEngineViewer::UpdateDataBaseInfo &infoDataBase, WebEngineViewer::CreatePhishingUrlDataBaseJob::DataBaseDownloadResult status) |
Detailed Description
Member Function Documentation
[override virtual noexcept] CreatePhishingUrlDataBaseJob::~CreatePhishingUrlDataBaseJob()
Destroys the CreatePhishingUrlDataBaseJob object.
[signal] void CreatePhishingUrlDataBaseJob::debugJson(const QByteArray &ba)
Emitted for debugging JSON messages.
[signal] void CreatePhishingUrlDataBaseJob::debugJsonResult(const QByteArray &ba)
Emitted for debugging the JSON result.
[signal] void CreatePhishingUrlDataBaseJob::finished(const WebEngineViewer::UpdateDataBaseInfo &infoDataBase, WebEngineViewer::CreatePhishingUrlDataBaseJob::DataBaseDownloadResult status)
Emitted when the database creation is finished.
QByteArray CreatePhishingUrlDataBaseJob::jsonRequest() const
Returns the JSON request payload.
void CreatePhishingUrlDataBaseJob::parseResult(const QByteArray &value)
Parses the result from the server.
void CreatePhishingUrlDataBaseJob::setContraintsCompressionType(WebEngineViewer::CreatePhishingUrlDataBaseJob::ContraintsCompressionType type)
Sets the compression type for constraints.
void CreatePhishingUrlDataBaseJob::setDataBaseDownloadNeeded(WebEngineViewer::CreatePhishingUrlDataBaseJob::DataBaseDownloadType type)
Sets the type of database download needed.
void CreatePhishingUrlDataBaseJob::setDataBaseState(const QString &value)
Sets the current database state.
void CreatePhishingUrlDataBaseJob::start()
Starts the database download job.