pub struct QCollator { /* private fields */ }Expand description
C++ class: QCollator.
Implementations§
Source§impl QCollator
impl QCollator
Sourcepub unsafe fn call_2_q_string(
&self,
s1: impl CastInto<Ref<QString>>,
s2: impl CastInto<Ref<QString>>,
) -> bool
pub unsafe fn call_2_q_string( &self, s1: impl CastInto<Ref<QString>>, s2: impl CastInto<Ref<QString>>, ) -> bool
Calls C++ function: bool QCollator::operator()(const QString& s1, const QString& s2) const.
Sourcepub unsafe fn call_2_q_string_view(
&self,
s1: impl CastInto<Ref<QStringView>>,
s2: impl CastInto<Ref<QStringView>>,
) -> bool
pub unsafe fn call_2_q_string_view( &self, s1: impl CastInto<Ref<QStringView>>, s2: impl CastInto<Ref<QStringView>>, ) -> bool
Calls C++ function: bool QCollator::operator()(QStringView s1, QStringView s2) const.
Sourcepub unsafe fn case_sensitivity(&self) -> CaseSensitivity
pub unsafe fn case_sensitivity(&self) -> CaseSensitivity
Calls C++ function: Qt::CaseSensitivity QCollator::caseSensitivity() const.
Sourcepub unsafe fn compare_2_q_string(
&self,
s1: impl CastInto<Ref<QString>>,
s2: impl CastInto<Ref<QString>>,
) -> c_int
pub unsafe fn compare_2_q_string( &self, s1: impl CastInto<Ref<QString>>, s2: impl CastInto<Ref<QString>>, ) -> c_int
Calls C++ function: int QCollator::compare(const QString& s1, const QString& s2) const.
Sourcepub unsafe fn compare_2_q_string_ref(
&self,
s1: impl CastInto<Ref<QStringRef>>,
s2: impl CastInto<Ref<QStringRef>>,
) -> c_int
pub unsafe fn compare_2_q_string_ref( &self, s1: impl CastInto<Ref<QStringRef>>, s2: impl CastInto<Ref<QStringRef>>, ) -> c_int
Calls C++ function: int QCollator::compare(const QStringRef& s1, const QStringRef& s2) const.
Sourcepub unsafe fn compare_q_char_int_q_char_int(
&self,
s1: impl CastInto<Ptr<QChar>>,
len1: c_int,
s2: impl CastInto<Ptr<QChar>>,
len2: c_int,
) -> c_int
pub unsafe fn compare_q_char_int_q_char_int( &self, s1: impl CastInto<Ptr<QChar>>, len1: c_int, s2: impl CastInto<Ptr<QChar>>, len2: c_int, ) -> c_int
Calls C++ function: int QCollator::compare(const QChar* s1, int len1, const QChar* s2, int len2) const.
Sourcepub unsafe fn compare_2_q_string_view(
&self,
s1: impl CastInto<Ref<QStringView>>,
s2: impl CastInto<Ref<QStringView>>,
) -> c_int
pub unsafe fn compare_2_q_string_view( &self, s1: impl CastInto<Ref<QStringView>>, s2: impl CastInto<Ref<QStringView>>, ) -> c_int
Calls C++ function: int QCollator::compare(QStringView s1, QStringView s2) const.
Sourcepub unsafe fn copy_from(
&self,
arg1: impl CastInto<Ref<QCollator>>,
) -> Ref<QCollator>
pub unsafe fn copy_from( &self, arg1: impl CastInto<Ref<QCollator>>, ) -> Ref<QCollator>
Calls C++ function: QCollator& QCollator::operator=(const QCollator& arg1).
Sourcepub unsafe fn ignore_punctuation(&self) -> bool
pub unsafe fn ignore_punctuation(&self) -> bool
Calls C++ function: bool QCollator::ignorePunctuation() const.
Sourcepub unsafe fn locale(&self) -> CppBox<QLocale>
pub unsafe fn locale(&self) -> CppBox<QLocale>
Calls C++ function: QLocale QCollator::locale() const.
Sourcepub unsafe fn new_0a() -> CppBox<QCollator>
pub unsafe fn new_0a() -> CppBox<QCollator>
Calls C++ function: [constructor] void QCollator::QCollator().
Sourcepub unsafe fn new_1a(locale: impl CastInto<Ref<QLocale>>) -> CppBox<QCollator>
pub unsafe fn new_1a(locale: impl CastInto<Ref<QLocale>>) -> CppBox<QCollator>
Calls C++ function: [constructor] void QCollator::QCollator(const QLocale& locale).
Sourcepub unsafe fn new_copy(arg1: impl CastInto<Ref<QCollator>>) -> CppBox<QCollator>
pub unsafe fn new_copy(arg1: impl CastInto<Ref<QCollator>>) -> CppBox<QCollator>
Calls C++ function: [constructor] void QCollator::QCollator(const QCollator& arg1).
Sourcepub unsafe fn numeric_mode(&self) -> bool
pub unsafe fn numeric_mode(&self) -> bool
Calls C++ function: bool QCollator::numericMode() const.
Sourcepub unsafe fn set_case_sensitivity(&self, cs: CaseSensitivity)
pub unsafe fn set_case_sensitivity(&self, cs: CaseSensitivity)
Calls C++ function: void QCollator::setCaseSensitivity(Qt::CaseSensitivity cs).
Sourcepub unsafe fn set_ignore_punctuation(&self, on: bool)
pub unsafe fn set_ignore_punctuation(&self, on: bool)
Calls C++ function: void QCollator::setIgnorePunctuation(bool on).
Sourcepub unsafe fn set_locale(&self, locale: impl CastInto<Ref<QLocale>>)
pub unsafe fn set_locale(&self, locale: impl CastInto<Ref<QLocale>>)
Calls C++ function: void QCollator::setLocale(const QLocale& locale).
Sourcepub unsafe fn set_numeric_mode(&self, on: bool)
pub unsafe fn set_numeric_mode(&self, on: bool)
Calls C++ function: void QCollator::setNumericMode(bool on).