java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QCommandLineOption
- 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 enum QCommandLineOption::Flagstatic final class
QFlags type for enumQCommandLineOption.Flag
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only.QCommandLineOption
(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 = ""
.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 = ""
.QCommandLineOption
(Collection<String> names, String description, String valueName, String defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionclone()
final QStringList
final String
final QCommandLineOption.Flags
flags()
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
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
Overloaded constructor for
QCommandLineOption(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
withdefaultValue = ""
. -
QCommandLineOption
Overloaded constructor for
QCommandLineOption(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
with:
valueName = ""
defaultValue = ""
-
QCommandLineOption
-
QCommandLineOption
-
QCommandLineOption
Overloaded constructor for
QCommandLineOption(java.util.Collection, java.lang.String, java.lang.String, java.lang.String)
withdefaultValue = ""
. -
QCommandLineOption
Overloaded constructor for
QCommandLineOption(java.util.Collection, java.lang.String, java.lang.String, java.lang.String)
with:
valueName = ""
defaultValue = ""
-
QCommandLineOption
public QCommandLineOption(Collection<String> names, String description, String valueName, String defaultValue) -
QCommandLineOption
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
defaultValues
-
description
-
flags
-
names
-
setDefaultValue
-
setDefaultValues
-
setDescription
-
setFlags
Overloaded function for
setFlags(io.qt.core.QCommandLineOption.Flags)
. -
setFlags
-
setValueName
-
swap
-
valueName
-
clone
-