9#include "textgrammarcheck_export.h"
10#include <QNetworkRequest>
14namespace TextGrammarCheck
16class TEXTGRAMMARCHECK_EXPORT LanguageToolGetListOfLanguageJob :
public QObject
20 explicit LanguageToolGetListOfLanguageJob(
QObject *parent =
nullptr);
21 ~LanguageToolGetListOfLanguageJob()
override;
23 [[nodiscard]]
bool canStart()
const;
26 [[nodiscard]]
QString listOfLanguagePath()
const;
27 void setListOfLanguagePath(
const QString &listOfLanguagePath);
32 [[nodiscard]]
QString url()
const;
33 void setUrl(
const QString &url);
36 void finished(
const QString &result);
40 Q_DISABLE_COPY(LanguageToolGetListOfLanguageJob)
41 TEXTGRAMMARCHECK_NO_EXPORT
void addRequestAttribute(
QNetworkRequest &request)
const;
42 TEXTGRAMMARCHECK_NO_EXPORT
void slotCheckListOfLanguagesFinished();
43 TEXTGRAMMARCHECK_NO_EXPORT
void slotFinish(
QNetworkReply *reply);
Q_SCRIPTABLE Q_NOREPLY void start()
void error(QWidget *parent, const QString &text, const QString &title, const KGuiItem &buttonOk, Options options=Notify)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:03 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.