rename all cxx_qt::bridge modules to qobject for clarity
This commit is contained in:
parent
f6964cf06a
commit
aa0eeaaeed
13 changed files with 49 additions and 52 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// The purpose of this file is to provide validation
|
||||
// of whether or not a file exists
|
||||
#[cxx_qt::bridge]
|
||||
mod file_helper {
|
||||
mod qobject {
|
||||
unsafe extern "C++" {
|
||||
include!("cxx-qt-lib/qstring.h");
|
||||
type QString = cxx_qt_lib::QString;
|
||||
|
|
@ -56,7 +56,7 @@ impl Default for FileHelperRust {
|
|||
}
|
||||
}
|
||||
|
||||
impl file_helper::FileHelper {
|
||||
impl qobject::FileHelper {
|
||||
pub fn load(self: Pin<&mut Self>, file: QUrl) -> Vec<String> {
|
||||
println!("{file}");
|
||||
vec!["hi".to_string()]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue