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's 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 = (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 TypeMethodDescriptionclone()
final QStringList
final String
final QCommandLineOption.Flags
flags()
final boolean
isHidden()
Deprecated.Use flags() and HiddenFromHelpfinal 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) Deprecated.Use setFlags() with HiddenFromHelpfinal 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 = (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
-
QCommandLineOption
-
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
-
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
-
isHidden
Deprecated.Use flags() and HiddenFromHelp -
names
-
setDefaultValue
-
setDefaultValues
-
setDescription
-
setFlags
Overloaded function for
setFlags(io.qt.core.QCommandLineOption.Flags)
. -
setFlags
-
setHidden
Deprecated.Use setFlags() with HiddenFromHelp -
setValueName
-
swap
-
valueName
-
clone
-