We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffd346d commit 1a579a7Copy full SHA for 1a579a7
crates/cxx-qt-lib/src/core/qstringlist.rs
@@ -36,6 +36,16 @@ mod ffi {
36
37
/// Sorts the list of strings in ascending order.
38
fn sort(self: &mut QStringList, cs: CaseSensitivity);
39
+
40
+ /// Returns a string list where every string has had the before text replaced with the after text wherever the before text is found.
41
+ /// The before text is matched case-sensitively or not depending on the cs flag.
42
+ #[rust_name = "replace_in_strings"]
43
+ fn replaceInStrings(
44
+ self: &mut QStringList,
45
+ before: &QString,
46
+ after: &QString,
47
+ cs: CaseSensitivity,
48
+ ) -> &mut QStringList;
49
}
50
51
#[namespace = "rust::cxxqtlib1"]
0 commit comments