KItinerary
htmldocument.h
Q_INVOKABLE QVariant eval(const QString &xpath) const
Evaluate an XPath expression relative to the document root.
Definition htmldocument.cpp:375
static HtmlDocument * fromData(const QByteArray &data, QObject *parent=nullptr)
Creates a HtmlDocument from the given raw data.
Definition htmldocument.cpp:380
static HtmlDocument * fromString(const QString &data, QObject *parent=nullptr)
Creates a HtmlDocument from a given (unicode) string.
Definition htmldocument.cpp:399
Q_INVOKABLE QString attribute(const QString &attr) const
Value of the attribute attr.
Definition htmldocument.cpp:71
QStringList attributes() const
Returns the list of all attributes of this node.
Definition htmldocument.cpp:330
bool operator==(const HtmlElement &other) const
Checks if two HtmlElement instances refer to the same DOM node.
Definition htmldocument.cpp:348
Q_INVOKABLE QVariant eval(const QString &xpath) const
Evaluate an XPath expression relative to this node.
Definition htmldocument.cpp:264
bool hasAttribute(const QString &attr) const
Checks whether an attribute with name attr exists.
Definition htmldocument.cpp:309
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
QObject(QObject *parent)
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:35 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:35 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.