@@ -103,7 +103,7 @@ mod tests {
103103 ::std::int32_t const&
104104 MyObject::getTrivialProperty() const
105105 {
106- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(*this);
106+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(*this);
107107 return getTrivialPropertyWrapper();
108108 }
109109 "# }
@@ -124,7 +124,7 @@ mod tests {
124124 void
125125 MyObject::setTrivialProperty(::std::int32_t const& value)
126126 {
127- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(*this);
127+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(*this);
128128 setTrivialPropertyWrapper(value);
129129 }
130130 "# }
@@ -145,7 +145,7 @@ mod tests {
145145 ::std::unique_ptr<QColor> const&
146146 MyObject::getOpaqueProperty() const
147147 {
148- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(*this);
148+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(*this);
149149 return getOpaquePropertyWrapper();
150150 }
151151 "# }
@@ -166,7 +166,7 @@ mod tests {
166166 void
167167 MyObject::setOpaqueProperty(::std::unique_ptr<QColor> const& value)
168168 {
169- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(*this);
169+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(*this);
170170 setOpaquePropertyWrapper(value);
171171 }
172172 "# }
@@ -207,7 +207,7 @@ mod tests {
207207 indoc! { r#"
208208 // Define namespace otherwise we hit a GCC bug
209209 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480
210- namespace rust::cxxqtlib1 {
210+ namespace rust::cxxqt1 {
211211 template <>
212212 SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamstrivialPropertyChanged *>::~SignalHandler() noexcept
213213 {
@@ -228,7 +228,7 @@ mod tests {
228228
229229 static_assert(alignof(SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamstrivialPropertyChanged *>) <= alignof(::std::size_t), "unexpected aligment");
230230 static_assert(sizeof(SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamstrivialPropertyChanged *>) == sizeof(::std::size_t[2]), "unexpected size");
231- } // namespace rust::cxxqtlib1
231+ } // namespace rust::cxxqt1
232232
233233 namespace rust::cxxqtgen1 {
234234 ::QMetaObject::Connection
@@ -239,7 +239,7 @@ mod tests {
239239 &MyObject::trivialPropertyChanged,
240240 &self,
241241 [&, closure = ::std::move(closure)]() mutable {
242- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(self);
242+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(self);
243243 closure.template operator()<MyObject&>(self);
244244 },
245245 type);
@@ -268,7 +268,7 @@ mod tests {
268268 indoc! { r#"
269269 // Define namespace otherwise we hit a GCC bug
270270 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480
271- namespace rust::cxxqtlib1 {
271+ namespace rust::cxxqt1 {
272272 template <>
273273 SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamsopaquePropertyChanged *>::~SignalHandler() noexcept
274274 {
@@ -289,7 +289,7 @@ mod tests {
289289
290290 static_assert(alignof(SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamsopaquePropertyChanged *>) <= alignof(::std::size_t), "unexpected aligment");
291291 static_assert(sizeof(SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamsopaquePropertyChanged *>) == sizeof(::std::size_t[2]), "unexpected size");
292- } // namespace rust::cxxqtlib1
292+ } // namespace rust::cxxqt1
293293
294294 namespace rust::cxxqtgen1 {
295295 ::QMetaObject::Connection
@@ -300,7 +300,7 @@ mod tests {
300300 &MyObject::opaquePropertyChanged,
301301 &self,
302302 [&, closure = ::std::move(closure)]() mutable {
303- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(self);
303+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(self);
304304 closure.template operator()<MyObject&>(self);
305305 },
306306 type);
@@ -383,7 +383,7 @@ mod tests {
383383 A1 const&
384384 MyObject::getMappedProperty() const
385385 {
386- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(*this);
386+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(*this);
387387 return getMappedPropertyWrapper();
388388 }
389389 "# }
@@ -401,7 +401,7 @@ mod tests {
401401 void
402402 MyObject::setMappedProperty(A1 const& value)
403403 {
404- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(*this);
404+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(*this);
405405 setMappedPropertyWrapper(value);
406406 }
407407 "# }
@@ -434,7 +434,7 @@ mod tests {
434434 indoc! { r#"
435435 // Define namespace otherwise we hit a GCC bug
436436 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480
437- namespace rust::cxxqtlib1 {
437+ namespace rust::cxxqt1 {
438438 template <>
439439 SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamsmappedPropertyChanged *>::~SignalHandler() noexcept
440440 {
@@ -455,7 +455,7 @@ mod tests {
455455
456456 static_assert(alignof(SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamsmappedPropertyChanged *>) <= alignof(::std::size_t), "unexpected aligment");
457457 static_assert(sizeof(SignalHandler<::rust::cxxqtgen1::MyObjectCxxQtSignalParamsmappedPropertyChanged *>) == sizeof(::std::size_t[2]), "unexpected size");
458- } // namespace rust::cxxqtlib1
458+ } // namespace rust::cxxqt1
459459
460460 namespace rust::cxxqtgen1 {
461461 ::QMetaObject::Connection
@@ -466,7 +466,7 @@ mod tests {
466466 &MyObject::mappedPropertyChanged,
467467 &self,
468468 [&, closure = ::std::move(closure)]() mutable {
469- const ::rust::cxxqtlib1 ::MaybeLockGuard<MyObject> guard(self);
469+ const ::rust::cxxqt1 ::MaybeLockGuard<MyObject> guard(self);
470470 closure.template operator()<MyObject&>(self);
471471 },
472472 type);
0 commit comments