java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QCommandLineOption
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QCommandLineOption extends QtObject implements Cloneable
Defines a possible command-line option
Java wrapper for Qt class QCommandLineOption
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QCommandLineOption.Flag
Java wrapper for Qt enum QCommandLineOption::Flagstatic class
QCommandLineOption.Flags
QFlags type for enumQCommandLineOption.Flag
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description QCommandLineOption
clone()
QStringList
defaultValues()
String
description()
QCommandLineOption.Flags
flags()
boolean
isHidden()
Deprecated.Use flags() and HiddenFromHelpQStringList
names()
void
setDefaultValue(String defaultValue)
void
setDefaultValues(Collection<String> defaultValues)
void
setDescription(String description)
void
setFlags(QCommandLineOption.Flag... aflags)
Overloaded function forsetFlags(io.qt.core.QCommandLineOption.Flags)
.void
setFlags(QCommandLineOption.Flags aflags)
void
setHidden(boolean hidden)
Deprecated.Use setFlags() with HiddenFromHelpvoid
setValueName(String name)
void
swap(QCommandLineOption other)
String
valueName()
-
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
-
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
-