initial port to cxx_qt 6.0

This commit is contained in:
Chris Cochrun 2023-11-27 11:07:55 -06:00
parent 62daf316a3
commit 744481587f
31 changed files with 1992 additions and 1860 deletions

View file

@ -31,6 +31,7 @@ mod service_thing {
}
use cxx_qt_lib::QString;
use std::pin::Pin;
#[derive(Clone)]
pub struct ServiceThingRust {
@ -63,7 +64,7 @@ impl Default for ServiceThingRust {
}
}
impl qobject::ServiceThing {
impl service_thing::ServiceThing {
pub fn activate(self: Pin<&mut Self>) {
println!("{}", self.active());
let active: bool = *self.active();