summaryrefslogtreecommitdiff
path: root/examples/xmlpatterns/filetree/filetree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xmlpatterns/filetree/filetree.cpp')
-rw-r--r--examples/xmlpatterns/filetree/filetree.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/xmlpatterns/filetree/filetree.cpp b/examples/xmlpatterns/filetree/filetree.cpp
index 5df6afb..bcde110 100644
--- a/examples/xmlpatterns/filetree/filetree.cpp
+++ b/examples/xmlpatterns/filetree/filetree.cpp
@@ -144,7 +144,7 @@ QXmlNodeModelIndex FileTree::toNodeIndex(const QFileInfo &fileInfo) const
/*!
This private helper function is only called by nextFromSimpleAxis().
It is called whenever nextFromSimpleAxis() is called with an axis
- parameter of either \c{PreviousSibling} or \c{NextSibling}.
+ parameter of either \c{PreviousSibling} or \c{NextSibling}.
*/
//! [5]
QXmlNodeModelIndex FileTree::nextSibling(const QXmlNodeModelIndex &nodeIndex,
@@ -213,7 +213,7 @@ FileTree::nextFromSimpleAxis(SimpleAxis axis, const QXmlNodeModelIndex &nodeInde
switch (axis) {
case Parent:
return toNodeIndex(QFileInfo(fi.path()), Directory);
-
+
case FirstChild:
{
if (type == File) // A file has no children.
@@ -233,7 +233,7 @@ FileTree::nextFromSimpleAxis(SimpleAxis axis, const QXmlNodeModelIndex &nodeInde
return toNodeIndex(firstChild);
}
}
-
+
case PreviousSibling:
return nextSibling(nodeIndex, fi, -1);