KTextAddons
9#include "textgrammarcheck_export.h"
13namespace TextGrammarCheck
15class TEXTGRAMMARCHECK_EXPORT GrammalecteGenerateConfigOptionJob :
public QObject
22 bool defaultValue =
false;
25 explicit GrammalecteGenerateConfigOptionJob(QObject *parent =
nullptr);
26 ~GrammalecteGenerateConfigOptionJob()
override;
29 [[nodiscard]]
bool canStart()
const;
31 [[nodiscard]] QString pythonPath()
const;
32 void setPythonPath(
const QString &pythonPath);
34 [[nodiscard]] QString grammarlecteCliPath()
const;
35 void setGrammarlecteCliPath(
const QString &grammarlecteCliPath);
39 void finished(
const QVector<GrammalecteGenerateConfigOptionJob::Option> &result);
42 Q_DISABLE_COPY(GrammalecteGenerateConfigOptionJob)
43 TEXTGRAMMARCHECK_NO_EXPORT
void receivedStandardOutput();
45 TEXTGRAMMARCHECK_NO_EXPORT
void receivedError();
46 TEXTGRAMMARCHECK_NO_EXPORT
void receivedStdErr();
47 TEXTGRAMMARCHECK_NO_EXPORT QVector<GrammalecteGenerateConfigOptionJob::Option> parseResult()
const;
50 QString mGrammarlecteCliPath;
52 QProcess *mProcess =
nullptr;
55Q_DECLARE_TYPEINFO(TextGrammarCheck::GrammalecteGenerateConfigOptionJob::Option, Q_MOVABLE_TYPE);
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-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.