KItinerary
extractor-document-dump.cpp
30 std::cout << "context time : " << qPrintable(node.contextDateTime().toString(Qt::ISODate)) << std::endl;
57 parser.addPositionalArgument(QStringLiteral("input"), QStringLiteral("File to read data from, omit for using stdin."));
A node in the extracted document object tree.
Definition extractordocumentnode.h:50
QDateTime contextDateTime
The best known context date/time at this point in the document tree.
Definition extractordocumentnode.h:68
QVariant location
Information about the location of this node in relation to one of its ancestors.
Definition extractordocumentnode.h:76
void setData(const QByteArray &data, QStringView fileName={}, QStringView mimeType={})
Set raw data to extract from.
Definition engine/extractorengine.cpp:120
QJsonArray extract()
Perform the actual extraction, and return the JSON-LD data that has been found.
Definition engine/extractorengine.cpp:150
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
QCommandLineOption addHelpOption()
void addPositionalArgument(const QString &name, const QString &description, const QString &syntax)
QCommandLineOption addVersionOption()
QStringList positionalArguments() const const
void process(const QCoreApplication &app)
void setApplicationDescription(const QString &description)
void showHelp(int exitCode)
void setApplicationName(const QString &application)
void setApplicationVersion(const QString &version)
void setOrganizationDomain(const QString &orgDomain)
void setOrganizationName(const QString &orgName)
QString toString(QStringView format, QCalendar cal) const const
ReadOnly
qsizetype size() const const
const_reference at(qsizetype i) const const
bool isEmpty() const const
ISODate
bool isNull() const const
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.