summaryrefslogtreecommitdiff
path: root/tools
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 /tools
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 'tools')
-rw-r--r--tools/xmlpatterns/qapplicationargumentparser.cpp8
-rw-r--r--tools/xmlpatterns/xmlpatterns.pro4
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/xmlpatterns/qapplicationargumentparser.cpp b/tools/xmlpatterns/qapplicationargumentparser.cpp
index 031e088..8364046 100644
--- a/tools/xmlpatterns/qapplicationargumentparser.cpp
+++ b/tools/xmlpatterns/qapplicationargumentparser.cpp
@@ -403,7 +403,7 @@ void QApplicationArgumentParserPrivate::displayHelp() const
/* " -name ". Indent a bit first, inspired by Qt's moc. */
const QString &name = at.name();
QString prolog(QLatin1String(" "));
-
+
/* We have a special case for the single dash. */
if(name == QChar::fromLatin1('-'))
prolog.append(name);
@@ -427,7 +427,7 @@ void QApplicationArgumentParserPrivate::displayHelp() const
else
prolog.append(QLatin1Char('<') + typeName + QLatin1Char('>'));
// TODO Don't we want to display the default value?
-
+
prolog.append(QLatin1Char(' '));
}
@@ -503,7 +503,7 @@ QList<QApplicationArgument> QApplicationArgumentParserPrivate::builtinArguments(
QLatin1String("Displays this help.")));
result.append(QApplicationArgument(QLatin1String("version"),
QLatin1String("Displays version information.")));
-
+
result.append(QApplicationArgument(QLatin1String("-"),
QLatin1String("When appearing, any following options are not interpreted as switches.")));
return result;
@@ -644,7 +644,7 @@ bool QApplicationArgumentParserPrivate::parseNamelessArguments(const QString &in
}
/*!
- Parses input() together with declaredArguments() and returns \c false if the caller
+ Parses input() together with declaredArguments() and returns \c false if the caller
should exit immediately, which is the case of which an error was encountered or
help or the version was requested.
diff --git a/tools/xmlpatterns/xmlpatterns.pro b/tools/xmlpatterns/xmlpatterns.pro
index 1fad197..0f1ee4f 100644
--- a/tools/xmlpatterns/xmlpatterns.pro
+++ b/tools/xmlpatterns/xmlpatterns.pro
@@ -4,12 +4,12 @@ QT = core xmlpatterns-private
# in libQtXmlPatterns. See src/xmlpatterns/api/api.pri.
SOURCES = main.cpp \
qapplicationargument.cpp \
- qapplicationargumentparser.cpp
+ qapplicationargumentparser.cpp
HEADERS = main.h \
qapplicationargument.cpp \
- qapplicationargumentparser.cpp
+ qapplicationargumentparser.cpp
load(qt_tool)