@@ -659,7 +659,7 @@ cxx_qt::static_assertions::assert_eq_size!(
659
659
cxx_qt:: signalhandler:: CxxQtSignalHandler <MyObjectCxxQtSignalClosureready >,
660
660
[ usize ; 2 ]
661
661
) ;
662
- impl :: cxx_qt:: Upcast < ffi:: QStringListModel > for ffi:: MyObject {
662
+ unsafe impl :: cxx_qt:: casting :: Upcast < ffi:: QStringListModel > for ffi:: MyObject {
663
663
unsafe fn upcast_ptr ( this : * const Self ) -> * const ffi:: QStringListModel {
664
664
ffi:: cxx_qt_ffi_MyObject_upcastPtr ( this)
665
665
}
@@ -839,7 +839,7 @@ cxx_qt::static_assertions::assert_eq_size!(
839
839
cxx_qt:: signalhandler:: CxxQtSignalHandler <SecondObjectCxxQtSignalClosureready >,
840
840
[ usize ; 2 ]
841
841
) ;
842
- impl :: cxx_qt:: Upcast < :: cxx_qt:: QObject > for ffi:: SecondObject {
842
+ unsafe impl :: cxx_qt:: casting :: Upcast < :: cxx_qt:: QObject > for ffi:: SecondObject {
843
843
unsafe fn upcast_ptr ( this : * const Self ) -> * const :: cxx_qt:: QObject {
844
844
ffi:: cxx_qt_ffi_SecondObject_upcastPtr ( this)
845
845
}
@@ -867,7 +867,7 @@ impl ::cxx_qt::CxxQtType for ffi::SecondObject {
867
867
ffi:: cxx_qt_ffi_SecondObject_unsafeRustMut ( self )
868
868
}
869
869
}
870
- impl :: cxx_qt:: Upcast < :: cxx_qt:: QObject > for ffi:: MyRustName {
870
+ unsafe impl :: cxx_qt:: casting :: Upcast < :: cxx_qt:: QObject > for ffi:: MyRustName {
871
871
unsafe fn upcast_ptr ( this : * const Self ) -> * const :: cxx_qt:: QObject {
872
872
ffi:: cxx_qt_ffi_MyCxxName_upcastPtr ( this)
873
873
}
@@ -895,15 +895,15 @@ impl ::cxx_qt::CxxQtType for ffi::MyRustName {
895
895
ffi:: cxx_qt_ffi_MyCxxName_unsafeRustMut ( self )
896
896
}
897
897
}
898
- impl :: cxx_qt:: Upcast < :: cxx_qt:: QObject > for ffi:: QPushButton {
898
+ unsafe impl :: cxx_qt:: casting :: Upcast < :: cxx_qt:: QObject > for ffi:: QPushButton {
899
899
unsafe fn upcast_ptr ( this : * const Self ) -> * const :: cxx_qt:: QObject {
900
900
ffi:: cxx_qt_ffi_QPushButton_upcastPtr ( this)
901
901
}
902
902
unsafe fn from_base_ptr ( base : * const :: cxx_qt:: QObject ) -> * const Self {
903
903
ffi:: cxx_qt_ffi_QPushButton_downcastPtr ( base)
904
904
}
905
905
}
906
- impl :: cxx_qt:: Upcast < :: cxx_qt:: QObject > for ffi:: ExternObject {
906
+ unsafe impl :: cxx_qt:: casting :: Upcast < :: cxx_qt:: QObject > for ffi:: ExternObject {
907
907
unsafe fn upcast_ptr ( this : * const Self ) -> * const :: cxx_qt:: QObject {
908
908
ffi:: cxx_qt_ffi_ExternObjectCpp_upcastPtr ( this)
909
909
}
0 commit comments