KItinerary
extractordocumentprocessor.h
71 virtual QJSValue contentToScriptValue(const ExtractorDocumentNode &node, QJSEngine *engine) const;
85 static bool matchesGadget(const ExtractorFilter &filter, const QMetaObject *mo, const void *obj);
virtual void expandNode(ExtractorDocumentNode &node, const ExtractorEngine *engine) const
Create child nodes for node, as far as that's necessary for this document type.
Definition: extractordocumentprocessor.cpp:36
virtual void postExtract(ExtractorDocumentNode &node) const
Called after extractors have been applied to node.
Definition: extractordocumentprocessor.cpp:82
A node in the extracted document object tree.
Definition: extractordocumentnode.h:49
Determines whether an extractor is applicable to a given email.
Definition: extractorfilter.h:23
Definition: barcodedecoder.h:20
virtual void reduceNode(ExtractorDocumentNode &node) const
Propagate results from child nodes up to node.
Definition: extractordocumentprocessor.cpp:40
virtual ExtractorDocumentNode createNodeFromContent(const QVariant &decodedData) const
Create a document node from an already decoded data type.
Definition: extractordocumentprocessor.cpp:29
Abstract base class of a document type processor.
Definition: extractordocumentprocessor.h:23
virtual bool canHandleData(const QByteArray &encodedData, QStringView fileName) const
Fast check whether the given encoded data can possibly be processed by this instance.
Definition: extractordocumentprocessor.cpp:19
virtual bool matches(const ExtractorFilter &filter, const ExtractorDocumentNode &node) const
Checks whether the given filter matches node.
Definition: extractordocumentprocessor.cpp:51
virtual void destroyNode(ExtractorDocumentNode &node) const
Destroys type-specific data in node.
Definition: extractordocumentprocessor.cpp:91
virtual QJSValue contentToScriptValue(const ExtractorDocumentNode &node, QJSEngine *engine) const
Create a QJSValue for the node content.
Definition: extractordocumentprocessor.cpp:86
virtual void preExtract(ExtractorDocumentNode &node, const ExtractorEngine *engine) const
Called before extractors are applied to node.
Definition: extractordocumentprocessor.cpp:47
virtual ExtractorDocumentNode createNodeFromData(const QByteArray &encodedData) const
Create a document node from raw data.
Definition: extractordocumentprocessor.cpp:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu May 26 2022 03:54:24 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu May 26 2022 03:54:24 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.