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