java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QCommandLineParser
- All Implemented Interfaces:
QtObjectInterface
public class QCommandLineParser extends QtObject
Means for handling the command line options
Java wrapper for Qt class QCommandLineParser
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QCommandLineParser.OptionsAfterPositionalArgumentsMode
Java wrapper for Qt enum QCommandLineParser::OptionsAfterPositionalArgumentsModestatic class
QCommandLineParser.SingleDashWordOptionMode
Java wrapper for Qt enum QCommandLineParser::SingleDashWordOptionMode -
Constructor Summary
Constructors Modifier Constructor Description QCommandLineParser()
protected
QCommandLineParser(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
Constructor Details
-
QCommandLineParser
public QCommandLineParser() -
QCommandLineParser
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addHelpOption
-
addOption
-
addOptions
-
addPositionalArgument
Overloaded function for
addPositionalArgument(java.lang.String, java.lang.String, java.lang.String)
withsyntax = ""
. -
addPositionalArgument
@QtUninvokable public final void addPositionalArgument(String name, String description, String syntax) -
addVersionOption
-
applicationDescription
-
clearPositionalArguments
-
errorText
-
helpText
-
isSet
-
isSet
-
optionNames
-
parse
-
positionalArguments
-
process
-
process
-
setApplicationDescription
-
setOptionsAfterPositionalArgumentsMode
@QtUninvokable public final void setOptionsAfterPositionalArgumentsMode(QCommandLineParser.OptionsAfterPositionalArgumentsMode mode) -
setSingleDashWordOptionMode
@QtUninvokable public final void setSingleDashWordOptionMode(QCommandLineParser.SingleDashWordOptionMode parsingMode) -
showHelp
Overloaded function for
showHelp(int)
withexitCode = 0
. -
showHelp
-
showVersion
-
unknownOptionNames
-
value
-
value
-
values
-
values
-