PythonQt.QtXmlPatterns.QXmlResultItems · declarations 001
Back to PythonQt.QtXmlPatterns.QXmlResultItems
current
current() -> Any
X.current() -> PythonQt.QtXmlPatterns.QXmlItem
Supplemental documentation: Qt 5 reference:
QXmlItem QXmlResultItems::current() const
Returns the current item. The current item is the last item that was produced and returned by next().
Returns a null QXmlItem if there is no associated QXmlQuery.
Upstream PySide2 reference signatures (binding differences may apply):
current(self) -> PySide2.QtXmlPatterns.QXmlItem
Source: https://doc.qt.io/archives/qt-5.15/qxmlresultitems.html#current
hasError
hasError() -> bool
X.hasError() -> bool
Supplemental documentation: Qt 5 reference:
bool QXmlResultItems::hasError() const
If an error occurred during evaluation of the query, true is returned.
Returns false if query evaluation has been done.
Upstream PySide2 reference signatures (binding differences may apply):
hasError(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qxmlresultitems.html#hasError
next
next() -> Any
X.next() -> PythonQt.QtXmlPatterns.QXmlItem
Supplemental documentation: Qt 5 reference:
QXmlItem QXmlResultItems::next()
Returns the next result in the sequence produced by lazy evaluation of the associated query. When the returned QXmlItem is null, either the evaluation terminated normally without producing another result, or an error occurred. Call hasError() to determine whether the null item was caused by normal termination or by an error.
Returns a null QXmlItem if there is no associated QXmlQuery.
Upstream PySide2 reference signatures (binding differences may apply):
next(self) -> PySide2.QtXmlPatterns.QXmlItem
Source: https://doc.qt.io/archives/qt-5.15/qxmlresultitems.html#next