summaryrefslogtreecommitdiff
path: root/examples/xmlpatterns/filetree/filetree.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2014-01-17 20:23:46 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-22 17:48:21 +0100
commit95f88ed6c58925b74e6e6c25a44e597e5be112b1 (patch)
treeabb4727988cd208efe2f0cea79efb1e56b11565a /examples/xmlpatterns/filetree/filetree.cpp
parentf217661e4c0c5c653442da65498c4a235a41b785 (diff)
downloadqtxmlpatterns-95f88ed6c58925b74e6e6c25a44e597e5be112b1.tar.gz
whitespace fixes
remove trailing spaces & expand tabs Change-Id: Ic958087d8c50f3c51d767f5191e54c4079cc74a2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
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);