src/xmlpatterns/api/qxmlresultitems.cpp
changeset 22 79de32ba3296
parent 18 2f34d5167611
equal deleted inserted replaced
19:fcece45ef507 22:79de32ba3296
    67   QXmlResultItems can be thought of as an "iterator" that traverses
    67   QXmlResultItems can be thought of as an "iterator" that traverses
    68   the sequence of query results once, in the forward direction. Each
    68   the sequence of query results once, in the forward direction. Each
    69   call to next() advances the iterator to the next QXmlItem in the
    69   call to next() advances the iterator to the next QXmlItem in the
    70   sequence and returns it, and current() always returns the QXmlItem
    70   sequence and returns it, and current() always returns the QXmlItem
    71   that next() returned the last time it was called.
    71   that next() returned the last time it was called.
       
    72 
       
    73   \note When using the QXmlResultItems overload of QXmlQuery::evaluateTo()
       
    74   to execute a query, it is advisable to create a new instance of this
       
    75   class for each new set of results rather than reusing an old instance.
    72 
    76 
    73   \sa QXmlItem::isNode(), QXmlItem::isAtomicValue(), QXmlNodeModelIndex
    77   \sa QXmlItem::isNode(), QXmlItem::isAtomicValue(), QXmlNodeModelIndex
    74  */
    78  */
    75 
    79 
    76 /*!
    80 /*!