@@ -103,7 +103,7 @@ mod tests {
103
103
::std::int32_t const&
104
104
MyObject::getTrivialProperty() const
105
105
{
106
- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(*this);
106
+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(*this);
107
107
return getTrivialPropertyWrapper();
108
108
}
109
109
"# }
@@ -124,7 +124,7 @@ mod tests {
124
124
void
125
125
MyObject::setTrivialProperty(::std::int32_t const& value)
126
126
{
127
- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(*this);
127
+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(*this);
128
128
setTrivialPropertyWrapper(value);
129
129
}
130
130
"# }
@@ -145,7 +145,7 @@ mod tests {
145
145
::std::unique_ptr<QColor> const&
146
146
MyObject::getOpaqueProperty() const
147
147
{
148
- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(*this);
148
+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(*this);
149
149
return getOpaquePropertyWrapper();
150
150
}
151
151
"# }
@@ -166,7 +166,7 @@ mod tests {
166
166
void
167
167
MyObject::setOpaqueProperty(::std::unique_ptr<QColor> const& value)
168
168
{
169
- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(*this);
169
+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(*this);
170
170
setOpaquePropertyWrapper(value);
171
171
}
172
172
"# }
@@ -207,7 +207,7 @@ mod tests {
207
207
indoc! { r#"
208
208
// Define namespace otherwise we hit a GCC bug
209
209
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480
210
- namespace rust::cxxqtlib1 {
210
+ namespace rust::cxxqt1 {
211
211
template <>
212
212
SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamstrivialPropertyChanged *>::~SignalHandler() noexcept
213
213
{
@@ -228,7 +228,7 @@ mod tests {
228
228
229
229
static_assert(alignof(SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamstrivialPropertyChanged *>) <= alignof(::std::size_t), "unexpected aligment");
230
230
static_assert(sizeof(SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamstrivialPropertyChanged *>) == sizeof(::std::size_t[2]), "unexpected size");
231
- } // namespace rust::cxxqtlib1
231
+ } // namespace rust::cxxqt1
232
232
233
233
namespace rust::cxxqtgen1 {
234
234
::QMetaObject::Connection
@@ -239,7 +239,7 @@ mod tests {
239
239
&MyObject::trivialPropertyChanged,
240
240
&self,
241
241
[&, closure = ::std::move(closure)]() mutable {
242
- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(self);
242
+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(self);
243
243
closure.template operator()<MyObject&>(self);
244
244
},
245
245
type);
@@ -268,7 +268,7 @@ mod tests {
268
268
indoc! { r#"
269
269
// Define namespace otherwise we hit a GCC bug
270
270
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480
271
- namespace rust::cxxqtlib1 {
271
+ namespace rust::cxxqt1 {
272
272
template <>
273
273
SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamsopaquePropertyChanged *>::~SignalHandler() noexcept
274
274
{
@@ -289,7 +289,7 @@ mod tests {
289
289
290
290
static_assert(alignof(SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamsopaquePropertyChanged *>) <= alignof(::std::size_t), "unexpected aligment");
291
291
static_assert(sizeof(SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamsopaquePropertyChanged *>) == sizeof(::std::size_t[2]), "unexpected size");
292
- } // namespace rust::cxxqtlib1
292
+ } // namespace rust::cxxqt1
293
293
294
294
namespace rust::cxxqtgen1 {
295
295
::QMetaObject::Connection
@@ -300,7 +300,7 @@ mod tests {
300
300
&MyObject::opaquePropertyChanged,
301
301
&self,
302
302
[&, closure = ::std::move(closure)]() mutable {
303
- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(self);
303
+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(self);
304
304
closure.template operator()<MyObject&>(self);
305
305
},
306
306
type);
@@ -383,7 +383,7 @@ mod tests {
383
383
A1 const&
384
384
MyObject::getMappedProperty() const
385
385
{
386
- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(*this);
386
+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(*this);
387
387
return getMappedPropertyWrapper();
388
388
}
389
389
"# }
@@ -401,7 +401,7 @@ mod tests {
401
401
void
402
402
MyObject::setMappedProperty(A1 const& value)
403
403
{
404
- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(*this);
404
+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(*this);
405
405
setMappedPropertyWrapper(value);
406
406
}
407
407
"# }
@@ -434,7 +434,7 @@ mod tests {
434
434
indoc! { r#"
435
435
// Define namespace otherwise we hit a GCC bug
436
436
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480
437
- namespace rust::cxxqtlib1 {
437
+ namespace rust::cxxqt1 {
438
438
template <>
439
439
SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamsmappedPropertyChanged *>::~SignalHandler() noexcept
440
440
{
@@ -455,7 +455,7 @@ mod tests {
455
455
456
456
static_assert(alignof(SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamsmappedPropertyChanged *>) <= alignof(::std::size_t), "unexpected aligment");
457
457
static_assert(sizeof(SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamsmappedPropertyChanged *>) == sizeof(::std::size_t[2]), "unexpected size");
458
- } // namespace rust::cxxqtlib1
458
+ } // namespace rust::cxxqt1
459
459
460
460
namespace rust::cxxqtgen1 {
461
461
::QMetaObject::Connection
@@ -466,7 +466,7 @@ mod tests {
466
466
&MyObject::mappedPropertyChanged,
467
467
&self,
468
468
[&, closure = ::std::move(closure)]() mutable {
469
- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(self);
469
+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(self);
470
470
closure.template operator()<MyObject&>(self);
471
471
},
472
472
type);
0 commit comments