以下成員源於類 QCommandLineOption 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
bool
|
isHidden () const |
(obsolete)
void
|
setHidden (bool hide ) |
Returns true if this option is omitted from the help output, false if the option is listed.
該函數在 Qt 5.6 引入。
另請參閱 setHidden () 和 QCommandLineOption::HiddenFromHelp .
Sets whether to hide this option in the user-visible help output.
All options are visible by default. Setting hide to true for a particular option makes it internal, i.e. not listed in the help output.
該函數在 Qt 5.6 引入。
另請參閱 isHidden .