@@ -310,8 +310,7 @@ mod tests {
310
310
#[ doc = "Connect the given function pointer to the signal " ]
311
311
#[ doc = "trivialPropertyChanged" ]
312
312
#[ doc = ", so that when the signal is emitted the function pointer is executed." ]
313
- #[ must_use]
314
- pub fn connect_trivial_property_changed<F : FnMut ( core:: pin:: Pin <& mut MyObject >, ) + ' static >( self : core:: pin:: Pin <& mut MyObject >, mut closure: F , conn_type: cxx_qt_lib:: ConnectionType ) -> cxx_qt_lib:: QMetaObjectConnection
313
+ pub fn connect_trivial_property_changed<F : FnMut ( core:: pin:: Pin <& mut MyObject >, ) + ' static >( self : core:: pin:: Pin <& mut MyObject >, mut closure: F , conn_type: cxx_qt:: ConnectionType ) -> cxx_qt:: QMetaObjectConnection
315
314
{
316
315
ffi:: MyObject_connect_trivial_property_changed (
317
316
self ,
@@ -331,13 +330,12 @@ mod tests {
331
330
#[ doc = ", so that when the signal is emitted the function pointer is executed." ]
332
331
#[ doc = "\n " ]
333
332
#[ doc = "Note that this method uses a AutoConnection connection type." ]
334
- #[ must_use]
335
- pub fn on_trivial_property_changed<F : FnMut ( core:: pin:: Pin <& mut MyObject >, ) + ' static >( self : core:: pin:: Pin <& mut MyObject >, mut closure: F ) -> cxx_qt_lib:: QMetaObjectConnection
333
+ pub fn on_trivial_property_changed<F : FnMut ( core:: pin:: Pin <& mut MyObject >, ) + ' static >( self : core:: pin:: Pin <& mut MyObject >, mut closure: F ) -> cxx_qt:: QMetaObjectConnection
336
334
{
337
335
ffi:: MyObject_connect_trivial_property_changed (
338
336
self ,
339
337
cxx_qt:: signalhandler:: CxxQtSignalHandler :: <MyObjectCxxQtSignalClosuretrivialPropertyChanged >:: new( Box :: new( closure) ) ,
340
- cxx_qt_lib :: ConnectionType :: AutoConnection ,
338
+ cxx_qt :: ConnectionType :: AutoConnection ,
341
339
)
342
340
}
343
341
}
@@ -438,8 +436,7 @@ mod tests {
438
436
#[ doc = "Connect the given function pointer to the signal " ]
439
437
#[ doc = "opaquePropertyChanged" ]
440
438
#[ doc = ", so that when the signal is emitted the function pointer is executed." ]
441
- #[ must_use]
442
- pub fn connect_opaque_property_changed<F : FnMut ( core:: pin:: Pin <& mut MyObject >, ) + ' static >( self : core:: pin:: Pin <& mut MyObject >, mut closure: F , conn_type: cxx_qt_lib:: ConnectionType ) -> cxx_qt_lib:: QMetaObjectConnection
439
+ pub fn connect_opaque_property_changed<F : FnMut ( core:: pin:: Pin <& mut MyObject >, ) + ' static >( self : core:: pin:: Pin <& mut MyObject >, mut closure: F , conn_type: cxx_qt:: ConnectionType ) -> cxx_qt:: QMetaObjectConnection
443
440
{
444
441
ffi:: MyObject_connect_opaque_property_changed (
445
442
self ,
@@ -459,13 +456,12 @@ mod tests {
459
456
#[ doc = ", so that when the signal is emitted the function pointer is executed." ]
460
457
#[ doc = "\n " ]
461
458
#[ doc = "Note that this method uses a AutoConnection connection type." ]
462
- #[ must_use]
463
- pub fn on_opaque_property_changed<F : FnMut ( core:: pin:: Pin <& mut MyObject >, ) + ' static >( self : core:: pin:: Pin <& mut MyObject >, mut closure: F ) -> cxx_qt_lib:: QMetaObjectConnection
459
+ pub fn on_opaque_property_changed<F : FnMut ( core:: pin:: Pin <& mut MyObject >, ) + ' static >( self : core:: pin:: Pin <& mut MyObject >, mut closure: F ) -> cxx_qt:: QMetaObjectConnection
464
460
{
465
461
ffi:: MyObject_connect_opaque_property_changed (
466
462
self ,
467
463
cxx_qt:: signalhandler:: CxxQtSignalHandler :: <MyObjectCxxQtSignalClosureopaquePropertyChanged >:: new( Box :: new( closure) ) ,
468
- cxx_qt_lib :: ConnectionType :: AutoConnection ,
464
+ cxx_qt :: ConnectionType :: AutoConnection ,
469
465
)
470
466
}
471
467
}
@@ -566,8 +562,7 @@ mod tests {
566
562
#[ doc = "Connect the given function pointer to the signal " ]
567
563
#[ doc = "unsafePropertyChanged" ]
568
564
#[ doc = ", so that when the signal is emitted the function pointer is executed." ]
569
- #[ must_use]
570
- pub fn connect_unsafe_property_changed<F : FnMut ( core:: pin:: Pin <& mut MyObject >, ) + ' static >( self : core:: pin:: Pin <& mut MyObject >, mut closure: F , conn_type: cxx_qt_lib:: ConnectionType ) -> cxx_qt_lib:: QMetaObjectConnection
565
+ pub fn connect_unsafe_property_changed<F : FnMut ( core:: pin:: Pin <& mut MyObject >, ) + ' static >( self : core:: pin:: Pin <& mut MyObject >, mut closure: F , conn_type: cxx_qt:: ConnectionType ) -> cxx_qt:: QMetaObjectConnection
571
566
{
572
567
ffi:: MyObject_connect_unsafe_property_changed (
573
568
self ,
@@ -587,13 +582,12 @@ mod tests {
587
582
#[ doc = ", so that when the signal is emitted the function pointer is executed." ]
588
583
#[ doc = "\n " ]
589
584
#[ doc = "Note that this method uses a AutoConnection connection type." ]
590
- #[ must_use]
591
- pub fn on_unsafe_property_changed<F : FnMut ( core:: pin:: Pin <& mut MyObject >, ) + ' static >( self : core:: pin:: Pin <& mut MyObject >, mut closure: F ) -> cxx_qt_lib:: QMetaObjectConnection
585
+ pub fn on_unsafe_property_changed<F : FnMut ( core:: pin:: Pin <& mut MyObject >, ) + ' static >( self : core:: pin:: Pin <& mut MyObject >, mut closure: F ) -> cxx_qt:: QMetaObjectConnection
592
586
{
593
587
ffi:: MyObject_connect_unsafe_property_changed (
594
588
self ,
595
589
cxx_qt:: signalhandler:: CxxQtSignalHandler :: <MyObjectCxxQtSignalClosureunsafePropertyChanged >:: new( Box :: new( closure) ) ,
596
- cxx_qt_lib :: ConnectionType :: AutoConnection ,
590
+ cxx_qt :: ConnectionType :: AutoConnection ,
597
591
)
598
592
}
599
593
}
0 commit comments