![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
Q_NEVER_INLINE | QCommandLineOptionPrivate (const QString &name) |
Q_NEVER_INLINE | QCommandLineOptionPrivate (const QStringList &names) |
![]() | |
QSharedData () noexcept | |
Constructs a QSharedData object with a reference count of 0. | |
QSharedData (const QSharedData &) noexcept | |
Constructs a QSharedData object with reference count 0. | |
QSharedData & | operator= (const QSharedData &)=delete |
~QSharedData ()=default | |
Static Public Member Functions | |
static QStringList | removeInvalidNames (QStringList nameList) |
Public Attributes | |
QStringList | names |
The list of names used for this option. | |
QString | valueName |
QString | description |
The description used for this option. | |
QStringList | defaultValues |
The list of default values used for this option. | |
QCommandLineOption::Flags | flags |
![]() | |
QAtomicInt | ref |
Definition at line 12 of file qcommandlineoption.cpp.
|
inlineexplicit |
Definition at line 16 of file qcommandlineoption.cpp.
|
inlineexplicit |
Definition at line 21 of file qcommandlineoption.cpp.
|
static |
Definition at line 248 of file qcommandlineoption.cpp.
References Q_UNLIKELY, and qWarning.
QStringList QCommandLineOptionPrivate::defaultValues |
The list of default values used for this option.
Definition at line 38 of file qcommandlineoption.cpp.
Referenced by QCommandLineOption::defaultValues(), QCommandLineOption::setDefaultValue(), and QCommandLineOption::setDefaultValues().
QString QCommandLineOptionPrivate::description |
The description used for this option.
Definition at line 35 of file qcommandlineoption.cpp.
Referenced by QCommandLineOption::description(), and QCommandLineOption::setDescription().
QCommandLineOption::Flags QCommandLineOptionPrivate::flags |
Definition at line 40 of file qcommandlineoption.cpp.
Referenced by QCommandLineOption::flags(), and QCommandLineOption::setFlags().
QStringList QCommandLineOptionPrivate::names |
The list of names used for this option.
Definition at line 28 of file qcommandlineoption.cpp.
Referenced by QCommandLineOption::names().
QString QCommandLineOptionPrivate::valueName |
The documentation name for the value, if one is expected Example: "-o <file>" means valueName == "file"
Definition at line 32 of file qcommandlineoption.cpp.
Referenced by QCommandLineOption::setValueName(), and QCommandLineOption::valueName().