9#include "templateparser_private_export.h"
10#include "templateparserextracthtmlinforesult.h"
13namespace TemplateParser
15class TemplateExtractTextFromMail;
16class TemplateExtractHtmlElementFromMail;
18class TEMPLATEPARSER_TESTS_EXPORT TemplateParserExtractHtmlInfo :
public QObject
22 explicit TemplateParserExtractHtmlInfo(
QObject *parent =
nullptr);
23 ~TemplateParserExtractHtmlInfo()
override;
25 void setHtmlForExtractingTextPlain(
const QString &html);
26 void setHtmlForExtractionHeaderAndBody(
const QString &html);
27 void setTemplate(
const QString &str);
31 void finished(
const TemplateParserExtractHtmlInfoResult &result);
34 TEMPLATEPARSER_NO_EXPORT
void slotExtractHtmlElementFinished(
bool success);
35 TEMPLATEPARSER_NO_EXPORT
void slotExtractToPlainTextFinished(
bool success);
37 TemplateParserExtractHtmlInfoResult mResult;
39 QString mHtmlForExtractingTextPlain;
40 QString mHtmlForExtractionHeaderAndBody;
44 TemplateExtractTextFromMail *mTemplateWebEngineView =
nullptr;
45 TemplateExtractHtmlElementFromMail *mExtractHtmlElementWebEngineView =
nullptr;
Q_SCRIPTABLE Q_NOREPLY void start()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.