pub struct QCommandLineOption { /* private fields */ }Expand description
C++ class: QCommandLineOption.
Implementations§
Source§impl QCommandLineOption
impl QCommandLineOption
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QCommandLineOption>>,
) -> Ref<QCommandLineOption>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QCommandLineOption>>, ) -> Ref<QCommandLineOption>
Calls C++ function: QCommandLineOption& QCommandLineOption::operator=(const QCommandLineOption& other).
Sourcepub unsafe fn default_values(&self) -> CppBox<QStringList>
pub unsafe fn default_values(&self) -> CppBox<QStringList>
Calls C++ function: QStringList QCommandLineOption::defaultValues() const.
Sourcepub unsafe fn description(&self) -> CppBox<QString>
pub unsafe fn description(&self) -> CppBox<QString>
Calls C++ function: QString QCommandLineOption::description() const.
Sourcepub unsafe fn flags(&self) -> QFlags<Flag>
pub unsafe fn flags(&self) -> QFlags<Flag>
Calls C++ function: QFlags<QCommandLineOption::Flag> QCommandLineOption::flags() const.
Calls C++ function: bool QCommandLineOption::isHidden() const.
Sourcepub unsafe fn names(&self) -> CppBox<QStringList>
pub unsafe fn names(&self) -> CppBox<QStringList>
Calls C++ function: QStringList QCommandLineOption::names() const.
Sourcepub unsafe fn from_q_string(
name: impl CastInto<Ref<QString>>,
) -> CppBox<QCommandLineOption>
pub unsafe fn from_q_string( name: impl CastInto<Ref<QString>>, ) -> CppBox<QCommandLineOption>
Calls C++ function: [constructor] void QCommandLineOption::QCommandLineOption(const QString& name).
Sourcepub unsafe fn from_q_string_list(
names: impl CastInto<Ref<QStringList>>,
) -> CppBox<QCommandLineOption>
pub unsafe fn from_q_string_list( names: impl CastInto<Ref<QStringList>>, ) -> CppBox<QCommandLineOption>
Calls C++ function: [constructor] void QCommandLineOption::QCommandLineOption(const QStringList& names).
Sourcepub unsafe fn from_4_q_string(
name: impl CastInto<Ref<QString>>,
description: impl CastInto<Ref<QString>>,
value_name: impl CastInto<Ref<QString>>,
default_value: impl CastInto<Ref<QString>>,
) -> CppBox<QCommandLineOption>
pub unsafe fn from_4_q_string( name: impl CastInto<Ref<QString>>, description: impl CastInto<Ref<QString>>, value_name: impl CastInto<Ref<QString>>, default_value: impl CastInto<Ref<QString>>, ) -> CppBox<QCommandLineOption>
Calls C++ function: [constructor] void QCommandLineOption::QCommandLineOption(const QString& name, const QString& description, const QString& valueName = …, const QString& defaultValue = …).
Sourcepub unsafe fn from_q_string_list3_q_string(
names: impl CastInto<Ref<QStringList>>,
description: impl CastInto<Ref<QString>>,
value_name: impl CastInto<Ref<QString>>,
default_value: impl CastInto<Ref<QString>>,
) -> CppBox<QCommandLineOption>
pub unsafe fn from_q_string_list3_q_string( names: impl CastInto<Ref<QStringList>>, description: impl CastInto<Ref<QString>>, value_name: impl CastInto<Ref<QString>>, default_value: impl CastInto<Ref<QString>>, ) -> CppBox<QCommandLineOption>
Calls C++ function: [constructor] void QCommandLineOption::QCommandLineOption(const QStringList& names, const QString& description, const QString& valueName = …, const QString& defaultValue = …).
Sourcepub unsafe fn from_3_q_string(
name: impl CastInto<Ref<QString>>,
description: impl CastInto<Ref<QString>>,
value_name: impl CastInto<Ref<QString>>,
) -> CppBox<QCommandLineOption>
pub unsafe fn from_3_q_string( name: impl CastInto<Ref<QString>>, description: impl CastInto<Ref<QString>>, value_name: impl CastInto<Ref<QString>>, ) -> CppBox<QCommandLineOption>
Calls C++ function: [constructor] void QCommandLineOption::QCommandLineOption(const QString& name, const QString& description, const QString& valueName = …).
Sourcepub unsafe fn from_2_q_string(
name: impl CastInto<Ref<QString>>,
description: impl CastInto<Ref<QString>>,
) -> CppBox<QCommandLineOption>
pub unsafe fn from_2_q_string( name: impl CastInto<Ref<QString>>, description: impl CastInto<Ref<QString>>, ) -> CppBox<QCommandLineOption>
Calls C++ function: [constructor] void QCommandLineOption::QCommandLineOption(const QString& name, const QString& description).
Sourcepub unsafe fn from_q_string_list2_q_string(
names: impl CastInto<Ref<QStringList>>,
description: impl CastInto<Ref<QString>>,
value_name: impl CastInto<Ref<QString>>,
) -> CppBox<QCommandLineOption>
pub unsafe fn from_q_string_list2_q_string( names: impl CastInto<Ref<QStringList>>, description: impl CastInto<Ref<QString>>, value_name: impl CastInto<Ref<QString>>, ) -> CppBox<QCommandLineOption>
Calls C++ function: [constructor] void QCommandLineOption::QCommandLineOption(const QStringList& names, const QString& description, const QString& valueName = …).
Sourcepub unsafe fn from_q_string_list_q_string(
names: impl CastInto<Ref<QStringList>>,
description: impl CastInto<Ref<QString>>,
) -> CppBox<QCommandLineOption>
pub unsafe fn from_q_string_list_q_string( names: impl CastInto<Ref<QStringList>>, description: impl CastInto<Ref<QString>>, ) -> CppBox<QCommandLineOption>
Calls C++ function: [constructor] void QCommandLineOption::QCommandLineOption(const QStringList& names, const QString& description).
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QCommandLineOption>>,
) -> CppBox<QCommandLineOption>
pub unsafe fn new_copy( other: impl CastInto<Ref<QCommandLineOption>>, ) -> CppBox<QCommandLineOption>
Calls C++ function: [constructor] void QCommandLineOption::QCommandLineOption(const QCommandLineOption& other).
Sourcepub unsafe fn set_default_value(
&self,
default_value: impl CastInto<Ref<QString>>,
)
pub unsafe fn set_default_value( &self, default_value: impl CastInto<Ref<QString>>, )
Calls C++ function: void QCommandLineOption::setDefaultValue(const QString& defaultValue).
Sourcepub unsafe fn set_default_values(
&self,
default_values: impl CastInto<Ref<QStringList>>,
)
pub unsafe fn set_default_values( &self, default_values: impl CastInto<Ref<QStringList>>, )
Calls C++ function: void QCommandLineOption::setDefaultValues(const QStringList& defaultValues).
Sourcepub unsafe fn set_description(&self, description: impl CastInto<Ref<QString>>)
pub unsafe fn set_description(&self, description: impl CastInto<Ref<QString>>)
Calls C++ function: void QCommandLineOption::setDescription(const QString& description).
Sourcepub unsafe fn set_flags(&self, aflags: QFlags<Flag>)
pub unsafe fn set_flags(&self, aflags: QFlags<Flag>)
Calls C++ function: void QCommandLineOption::setFlags(QFlags<QCommandLineOption::Flag> aflags).
Calls C++ function: void QCommandLineOption::setHidden(bool hidden).
Sourcepub unsafe fn set_value_name(&self, name: impl CastInto<Ref<QString>>)
pub unsafe fn set_value_name(&self, name: impl CastInto<Ref<QString>>)
Calls C++ function: void QCommandLineOption::setValueName(const QString& name).
Sourcepub unsafe fn swap(&self, other: impl CastInto<Ref<QCommandLineOption>>)
pub unsafe fn swap(&self, other: impl CastInto<Ref<QCommandLineOption>>)
Calls C++ function: void QCommandLineOption::swap(QCommandLineOption& other).
Sourcepub unsafe fn value_name(&self) -> CppBox<QString>
pub unsafe fn value_name(&self) -> CppBox<QString>
Calls C++ function: QString QCommandLineOption::valueName() const.