- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines a possible command-line option
Java wrapper for Qt class QCommandLineOption
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQCommandLineOption::Flag
static final class
QFlags
type for enumQCommandLineOption.Flag
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQCommandLineOption
(String name) QCommandLineOption
(String name, String description) Overloaded constructor forQCommandLineOption(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
QCommandLineOption
(String name, String description, String valueName) Overloaded constructor forQCommandLineOption(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
withdefaultValue = (String)null
.QCommandLineOption
(String name, String description, String valueName, String defaultValue) QCommandLineOption
(Collection<String> names) QCommandLineOption
(Collection<String> names, String description) Overloaded constructor forQCommandLineOption(java.util.Collection, java.lang.String, java.lang.String, java.lang.String)
QCommandLineOption
(Collection<String> names, String description, String valueName) Overloaded constructor forQCommandLineOption(java.util.Collection, java.lang.String, java.lang.String, java.lang.String)
withdefaultValue = (String)null
.QCommandLineOption
(Collection<String> names, String description, String valueName, String defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QCommandLineOption other) clone()
Creates and returns a copy of this object.final QStringList
final String
final QCommandLineOption.Flags
flags()
final boolean
isHidden()
final QStringList
names()
final void
setDefaultValue
(String defaultValue) final void
setDefaultValues
(Collection<String> defaultValues) final void
setDescription
(String description) final void
setFlags
(QCommandLineOption.Flag ... aflags) Overloaded function forsetFlags(io.qt.core.QCommandLineOption.Flags)
.final void
setFlags
(QCommandLineOption.Flags aflags) final void
setHidden
(boolean hidden) final void
setValueName
(String name) final void
swap
(QCommandLineOption other) final String
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QCommandLineOption
-
QCommandLineOption
-
QCommandLineOption
-
QCommandLineOption
-
QCommandLineOption
public QCommandLineOption(Collection<String> names, String description, String valueName, String defaultValue) -
QCommandLineOption
Overloaded constructor for
QCommandLineOption(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
withdefaultValue = (String)null
. -
QCommandLineOption
Overloaded constructor for
QCommandLineOption(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
with:
valueName = (String)null
defaultValue = (String)null
-
QCommandLineOption
Overloaded constructor for
QCommandLineOption(java.util.Collection, java.lang.String, java.lang.String, java.lang.String)
withdefaultValue = (String)null
. -
QCommandLineOption
Overloaded constructor for
QCommandLineOption(java.util.Collection, java.lang.String, java.lang.String, java.lang.String)
with:
valueName = (String)null
defaultValue = (String)null
-
-
Method Details
-
defaultValues
-
description
-
flags
-
isHidden
-
names
-
assign
-
setDefaultValue
-
setDefaultValues
-
setDescription
-
setFlags
-
setHidden
-
setValueName
-
swap
-
valueName
-
clone
Creates and returns a copy of this object.
-
setFlags
Overloaded function for
setFlags(io.qt.core.QCommandLineOption.Flags)
.
-