src/xmlpatterns/api/qabstractxmlnodemodel.cpp
changeset 37 758a864f9613
parent 18 2f34d5167611
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
  1353   left to the associated \l {QAbstractXmlNodeModel} {node model}.
  1353   left to the associated \l {QAbstractXmlNodeModel} {node model}.
  1354   Because QXmlNodeModelIndex depends on a particular subclass of
  1354   Because QXmlNodeModelIndex depends on a particular subclass of
  1355   QAbstractXmlNodeModel for its existence, the only way you can create
  1355   QAbstractXmlNodeModel for its existence, the only way you can create
  1356   an instance of QXmlNodeModelIndex is by asking the node model to
  1356   an instance of QXmlNodeModelIndex is by asking the node model to
  1357   create one for you with QAbstractXmlNodeModel::createIndex(). Since
  1357   create one for you with QAbstractXmlNodeModel::createIndex(). Since
  1358   that function is protected, it is usually a good ide to write a
  1358   that function is protected, it is usually a good idea to write a
  1359   public function that creates a QXmlNodeModelIndex from arguments that
  1359   public function that creates a QXmlNodeModelIndex from arguments that
  1360   are appropriate for your particular node model.
  1360   are appropriate for your particular node model.
  1361 
  1361 
  1362   A default constructed node index is said to be null, i.e., isNull()
  1362   A default constructed node index is said to be null, i.e., isNull()
  1363   returns true.
  1363   returns true.