diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2014-01-17 20:23:46 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-22 17:48:21 +0100 |
commit | 95f88ed6c58925b74e6e6c25a44e597e5be112b1 (patch) | |
tree | abb4727988cd208efe2f0cea79efb1e56b11565a /tools/xmlpatterns/qapplicationargumentparser.cpp | |
parent | f217661e4c0c5c653442da65498c4a235a41b785 (diff) | |
download | qtxmlpatterns-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/xmlpatterns/qapplicationargumentparser.cpp')
-rw-r--r-- | tools/xmlpatterns/qapplicationargumentparser.cpp | 8 |
1 files changed, 4 insertions, 4 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. |