rename all cxx_qt::bridge modules to qobject for clarity

This commit is contained in:
Chris Cochrun 2024-06-24 16:40:37 -05:00
parent 8ae9911ee3
commit b4ce082891
11 changed files with 38 additions and 40 deletions

View file

@ -1,5 +1,5 @@
#[cxx_qt::bridge]
mod settings {
mod qobject {
unsafe extern "C++" {
include!("cxx-qt-lib/qstring.h");
type QString = cxx_qt_lib::QString;
@ -60,7 +60,7 @@ impl Default for SettingsRust {
}
}
impl settings::Settings {
impl qobject::Settings {
pub fn setup(mut self: Pin<&mut Self>) {
let home = dirs::config_dir();
println!("{:?}", home);