KTextAddons
8#include "libbergamot_private_export.h"
9#include <QCryptographicHash>
13class LIBBERGAMOT_TESTS_EXPORT DownloadLanguageJob :
public QObject
17 explicit DownloadLanguageJob(QObject *parent =
nullptr);
18 ~DownloadLanguageJob()
override;
21 [[nodiscard]]
bool canStart()
const;
23 [[nodiscard]] QUrl url()
const;
24 void setUrl(
const QUrl &newUrl);
26 [[nodiscard]] QString checkSum()
const;
27 void setCheckSum(
const QString &newCheckSum);
30 void errorText(
const QString &str);
31 void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
35 void slotExtractDone();
36 void extractLanguage();
37 QCryptographicHash *mHash =
nullptr;
40 QTemporaryFile *mDestination =
nullptr;
Q_SCRIPTABLE Q_NOREPLY void start()
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:24 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.