uic: Update ui4.cpp/h sources

Apply changes from qttools/4235774262f633da196a192248dbacf4f67f085e.

Task-number: QTBUG-79896
Change-Id: I49466980a7c5983f57d4948386b15e8fcec82343
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Friedemann Kleint 2019-11-12 10:53:24 +01:00
parent a3f62d7ead
commit 0ec40c21c1
2 changed files with 147 additions and 147 deletions

View File

@ -59,7 +59,7 @@ void DomUI::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("version")) { if (name == QLatin1String("version")) {
setAttributeVersion(attribute.value().toString()); setAttributeVersion(attribute.value().toString());
continue; continue;
@ -94,7 +94,7 @@ void DomUI::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("author"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("author"), Qt::CaseInsensitive)) {
setElementAuthor(reader.readElementText()); setElementAuthor(reader.readElementText());
continue; continue;
@ -581,7 +581,7 @@ void DomIncludes::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("include"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("include"), Qt::CaseInsensitive)) {
auto *v = new DomInclude(); auto *v = new DomInclude();
v->read(reader); v->read(reader);
@ -621,7 +621,7 @@ void DomInclude::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("location")) { if (name == QLatin1String("location")) {
setAttributeLocation(attribute.value().toString()); setAttributeLocation(attribute.value().toString());
continue; continue;
@ -636,7 +636,7 @@ void DomInclude::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
reader.raiseError(QLatin1String("Unexpected element ") + tag); reader.raiseError(QLatin1String("Unexpected element ") + tag);
} }
break; break;
@ -678,7 +678,7 @@ void DomResources::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("name")) { if (name == QLatin1String("name")) {
setAttributeName(attribute.value().toString()); setAttributeName(attribute.value().toString());
continue; continue;
@ -689,7 +689,7 @@ void DomResources::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("include"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("include"), Qt::CaseInsensitive)) {
auto *v = new DomResource(); auto *v = new DomResource();
v->read(reader); v->read(reader);
@ -732,7 +732,7 @@ void DomResource::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("location")) { if (name == QLatin1String("location")) {
setAttributeLocation(attribute.value().toString()); setAttributeLocation(attribute.value().toString());
continue; continue;
@ -743,7 +743,7 @@ void DomResource::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
reader.raiseError(QLatin1String("Unexpected element ") + tag); reader.raiseError(QLatin1String("Unexpected element ") + tag);
} }
break; break;
@ -781,7 +781,7 @@ void DomActionGroup::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("name")) { if (name == QLatin1String("name")) {
setAttributeName(attribute.value().toString()); setAttributeName(attribute.value().toString());
continue; continue;
@ -792,7 +792,7 @@ void DomActionGroup::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("action"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("action"), Qt::CaseInsensitive)) {
auto *v = new DomAction(); auto *v = new DomAction();
v->read(reader); v->read(reader);
@ -886,7 +886,7 @@ void DomAction::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("name")) { if (name == QLatin1String("name")) {
setAttributeName(attribute.value().toString()); setAttributeName(attribute.value().toString());
continue; continue;
@ -901,7 +901,7 @@ void DomAction::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) {
auto *v = new DomProperty(); auto *v = new DomProperty();
v->read(reader); v->read(reader);
@ -962,7 +962,7 @@ void DomActionRef::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("name")) { if (name == QLatin1String("name")) {
setAttributeName(attribute.value().toString()); setAttributeName(attribute.value().toString());
continue; continue;
@ -973,7 +973,7 @@ void DomActionRef::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
reader.raiseError(QLatin1String("Unexpected element ") + tag); reader.raiseError(QLatin1String("Unexpected element ") + tag);
} }
break; break;
@ -1007,7 +1007,7 @@ void DomButtonGroup::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("name")) { if (name == QLatin1String("name")) {
setAttributeName(attribute.value().toString()); setAttributeName(attribute.value().toString());
continue; continue;
@ -1018,7 +1018,7 @@ void DomButtonGroup::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) {
auto *v = new DomProperty(); auto *v = new DomProperty();
v->read(reader); v->read(reader);
@ -1081,7 +1081,7 @@ void DomButtonGroups::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("buttongroup"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("buttongroup"), Qt::CaseInsensitive)) {
auto *v = new DomButtonGroup(); auto *v = new DomButtonGroup();
v->read(reader); v->read(reader);
@ -1126,7 +1126,7 @@ void DomCustomWidgets::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("customwidget"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("customwidget"), Qt::CaseInsensitive)) {
auto *v = new DomCustomWidget(); auto *v = new DomCustomWidget();
v->read(reader); v->read(reader);
@ -1166,7 +1166,7 @@ void DomHeader::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("location")) { if (name == QLatin1String("location")) {
setAttributeLocation(attribute.value().toString()); setAttributeLocation(attribute.value().toString());
continue; continue;
@ -1177,7 +1177,7 @@ void DomHeader::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
reader.raiseError(QLatin1String("Unexpected element ") + tag); reader.raiseError(QLatin1String("Unexpected element ") + tag);
} }
break; break;
@ -1219,7 +1219,7 @@ void DomCustomWidget::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("class"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("class"), Qt::CaseInsensitive)) {
setElementClass(reader.readElementText()); setElementClass(reader.readElementText());
continue; continue;
@ -1473,7 +1473,7 @@ void DomLayoutDefault::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("spacing")) { if (name == QLatin1String("spacing")) {
setAttributeSpacing(attribute.value().toInt()); setAttributeSpacing(attribute.value().toInt());
continue; continue;
@ -1488,7 +1488,7 @@ void DomLayoutDefault::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
reader.raiseError(QLatin1String("Unexpected element ") + tag); reader.raiseError(QLatin1String("Unexpected element ") + tag);
} }
break; break;
@ -1519,7 +1519,7 @@ void DomLayoutFunction::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("spacing")) { if (name == QLatin1String("spacing")) {
setAttributeSpacing(attribute.value().toString()); setAttributeSpacing(attribute.value().toString());
continue; continue;
@ -1534,7 +1534,7 @@ void DomLayoutFunction::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
reader.raiseError(QLatin1String("Unexpected element ") + tag); reader.raiseError(QLatin1String("Unexpected element ") + tag);
} }
break; break;
@ -1569,7 +1569,7 @@ void DomTabStops::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("tabstop"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("tabstop"), Qt::CaseInsensitive)) {
m_tabStop.append(reader.readElementText()); m_tabStop.append(reader.readElementText());
continue; continue;
@ -1615,7 +1615,7 @@ void DomLayout::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("class")) { if (name == QLatin1String("class")) {
setAttributeClass(attribute.value().toString()); setAttributeClass(attribute.value().toString());
continue; continue;
@ -1650,7 +1650,7 @@ void DomLayout::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) {
auto *v = new DomProperty(); auto *v = new DomProperty();
v->read(reader); v->read(reader);
@ -1759,7 +1759,7 @@ void DomLayoutItem::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("row")) { if (name == QLatin1String("row")) {
setAttributeRow(attribute.value().toInt()); setAttributeRow(attribute.value().toInt());
continue; continue;
@ -1786,7 +1786,7 @@ void DomLayoutItem::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("widget"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("widget"), Qt::CaseInsensitive)) {
auto *v = new DomWidget(); auto *v = new DomWidget();
v->read(reader); v->read(reader);
@ -1910,7 +1910,7 @@ void DomRow::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) {
auto *v = new DomProperty(); auto *v = new DomProperty();
v->read(reader); v->read(reader);
@ -1955,7 +1955,7 @@ void DomColumn::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) {
auto *v = new DomProperty(); auto *v = new DomProperty();
v->read(reader); v->read(reader);
@ -2001,7 +2001,7 @@ void DomItem::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("row")) { if (name == QLatin1String("row")) {
setAttributeRow(attribute.value().toInt()); setAttributeRow(attribute.value().toInt());
continue; continue;
@ -2016,7 +2016,7 @@ void DomItem::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) {
auto *v = new DomProperty(); auto *v = new DomProperty();
v->read(reader); v->read(reader);
@ -2101,7 +2101,7 @@ void DomWidget::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("class")) { if (name == QLatin1String("class")) {
setAttributeClass(attribute.value().toString()); setAttributeClass(attribute.value().toString());
continue; continue;
@ -2120,7 +2120,7 @@ void DomWidget::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("class"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("class"), Qt::CaseInsensitive)) {
m_class.append(reader.readElementText()); m_class.append(reader.readElementText());
continue; continue;
@ -2344,7 +2344,7 @@ void DomSpacer::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("name")) { if (name == QLatin1String("name")) {
setAttributeName(attribute.value().toString()); setAttributeName(attribute.value().toString());
continue; continue;
@ -2355,7 +2355,7 @@ void DomSpacer::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) {
auto *v = new DomProperty(); auto *v = new DomProperty();
v->read(reader); v->read(reader);
@ -2398,7 +2398,7 @@ void DomColor::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("alpha")) { if (name == QLatin1String("alpha")) {
setAttributeAlpha(attribute.value().toInt()); setAttributeAlpha(attribute.value().toInt());
continue; continue;
@ -2409,7 +2409,7 @@ void DomColor::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("red"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("red"), Qt::CaseInsensitive)) {
setElementRed(reader.readElementText().toInt()); setElementRed(reader.readElementText().toInt());
continue; continue;
@ -2494,7 +2494,7 @@ void DomGradientStop::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("position")) { if (name == QLatin1String("position")) {
setAttributePosition(attribute.value().toDouble()); setAttributePosition(attribute.value().toDouble());
continue; continue;
@ -2505,7 +2505,7 @@ void DomGradientStop::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("color"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("color"), Qt::CaseInsensitive)) {
auto *v = new DomColor(); auto *v = new DomColor();
v->read(reader); v->read(reader);
@ -2568,7 +2568,7 @@ void DomGradient::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("startx")) { if (name == QLatin1String("startx")) {
setAttributeStartX(attribute.value().toDouble()); setAttributeStartX(attribute.value().toDouble());
continue; continue;
@ -2627,7 +2627,7 @@ void DomGradient::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("gradientstop"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("gradientstop"), Qt::CaseInsensitive)) {
auto *v = new DomGradientStop(); auto *v = new DomGradientStop();
v->read(reader); v->read(reader);
@ -2724,7 +2724,7 @@ void DomBrush::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("brushstyle")) { if (name == QLatin1String("brushstyle")) {
setAttributeBrushStyle(attribute.value().toString()); setAttributeBrushStyle(attribute.value().toString());
continue; continue;
@ -2735,7 +2735,7 @@ void DomBrush::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("color"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("color"), Qt::CaseInsensitive)) {
auto *v = new DomColor(); auto *v = new DomColor();
v->read(reader); v->read(reader);
@ -2845,7 +2845,7 @@ void DomColorRole::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("role")) { if (name == QLatin1String("role")) {
setAttributeRole(attribute.value().toString()); setAttributeRole(attribute.value().toString());
continue; continue;
@ -2856,7 +2856,7 @@ void DomColorRole::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("brush"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("brush"), Qt::CaseInsensitive)) {
auto *v = new DomBrush(); auto *v = new DomBrush();
v->read(reader); v->read(reader);
@ -2922,7 +2922,7 @@ void DomColorGroup::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("colorrole"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("colorrole"), Qt::CaseInsensitive)) {
auto *v = new DomColorRole(); auto *v = new DomColorRole();
v->read(reader); v->read(reader);
@ -2983,7 +2983,7 @@ void DomPalette::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("active"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("active"), Qt::CaseInsensitive)) {
auto *v = new DomColorGroup(); auto *v = new DomColorGroup();
v->read(reader); v->read(reader);
@ -3102,7 +3102,7 @@ void DomFont::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("family"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("family"), Qt::CaseInsensitive)) {
setElementFamily(reader.readElementText()); setElementFamily(reader.readElementText());
continue; continue;
@ -3308,7 +3308,7 @@ void DomPoint::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("x"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("x"), Qt::CaseInsensitive)) {
setElementX(reader.readElementText().toInt()); setElementX(reader.readElementText().toInt());
continue; continue;
@ -3370,7 +3370,7 @@ void DomRect::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("x"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("x"), Qt::CaseInsensitive)) {
setElementX(reader.readElementText().toInt()); setElementX(reader.readElementText().toInt());
continue; continue;
@ -3467,7 +3467,7 @@ void DomLocale::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("language")) { if (name == QLatin1String("language")) {
setAttributeLanguage(attribute.value().toString()); setAttributeLanguage(attribute.value().toString());
continue; continue;
@ -3482,7 +3482,7 @@ void DomLocale::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
reader.raiseError(QLatin1String("Unexpected element ") + tag); reader.raiseError(QLatin1String("Unexpected element ") + tag);
} }
break; break;
@ -3513,7 +3513,7 @@ void DomSizePolicy::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("hsizetype")) { if (name == QLatin1String("hsizetype")) {
setAttributeHSizeType(attribute.value().toString()); setAttributeHSizeType(attribute.value().toString());
continue; continue;
@ -3528,7 +3528,7 @@ void DomSizePolicy::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("hsizetype"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("hsizetype"), Qt::CaseInsensitive)) {
setElementHSizeType(reader.readElementText().toInt()); setElementHSizeType(reader.readElementText().toInt());
continue; continue;
@ -3632,7 +3632,7 @@ void DomSize::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("width"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("width"), Qt::CaseInsensitive)) {
setElementWidth(reader.readElementText().toInt()); setElementWidth(reader.readElementText().toInt());
continue; continue;
@ -3694,7 +3694,7 @@ void DomDate::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("year"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("year"), Qt::CaseInsensitive)) {
setElementYear(reader.readElementText().toInt()); setElementYear(reader.readElementText().toInt());
continue; continue;
@ -3774,7 +3774,7 @@ void DomTime::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("hour"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("hour"), Qt::CaseInsensitive)) {
setElementHour(reader.readElementText().toInt()); setElementHour(reader.readElementText().toInt());
continue; continue;
@ -3854,7 +3854,7 @@ void DomDateTime::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("hour"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("hour"), Qt::CaseInsensitive)) {
setElementHour(reader.readElementText().toInt()); setElementHour(reader.readElementText().toInt());
continue; continue;
@ -3990,7 +3990,7 @@ void DomStringList::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("notr")) { if (name == QLatin1String("notr")) {
setAttributeNotr(attribute.value().toString()); setAttributeNotr(attribute.value().toString());
continue; continue;
@ -4013,7 +4013,7 @@ void DomStringList::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("string"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("string"), Qt::CaseInsensitive)) {
m_string.append(reader.readElementText()); m_string.append(reader.readElementText());
continue; continue;
@ -4063,7 +4063,7 @@ void DomResourcePixmap::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("resource")) { if (name == QLatin1String("resource")) {
setAttributeResource(attribute.value().toString()); setAttributeResource(attribute.value().toString());
continue; continue;
@ -4078,7 +4078,7 @@ void DomResourcePixmap::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
reader.raiseError(QLatin1String("Unexpected element ") + tag); reader.raiseError(QLatin1String("Unexpected element ") + tag);
} }
break; break;
@ -4126,7 +4126,7 @@ void DomResourceIcon::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("theme")) { if (name == QLatin1String("theme")) {
setAttributeTheme(attribute.value().toString()); setAttributeTheme(attribute.value().toString());
continue; continue;
@ -4141,7 +4141,7 @@ void DomResourceIcon::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("normaloff"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("normaloff"), Qt::CaseInsensitive)) {
auto *v = new DomResourcePixmap(); auto *v = new DomResourcePixmap();
v->read(reader); v->read(reader);
@ -4427,7 +4427,7 @@ void DomString::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("notr")) { if (name == QLatin1String("notr")) {
setAttributeNotr(attribute.value().toString()); setAttributeNotr(attribute.value().toString());
continue; continue;
@ -4450,7 +4450,7 @@ void DomString::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
reader.raiseError(QLatin1String("Unexpected element ") + tag); reader.raiseError(QLatin1String("Unexpected element ") + tag);
} }
break; break;
@ -4495,7 +4495,7 @@ void DomPointF::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("x"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("x"), Qt::CaseInsensitive)) {
setElementX(reader.readElementText().toDouble()); setElementX(reader.readElementText().toDouble());
continue; continue;
@ -4557,7 +4557,7 @@ void DomRectF::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("x"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("x"), Qt::CaseInsensitive)) {
setElementX(reader.readElementText().toDouble()); setElementX(reader.readElementText().toDouble());
continue; continue;
@ -4655,7 +4655,7 @@ void DomSizeF::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("width"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("width"), Qt::CaseInsensitive)) {
setElementWidth(reader.readElementText().toDouble()); setElementWidth(reader.readElementText().toDouble());
continue; continue;
@ -4717,7 +4717,7 @@ void DomChar::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("unicode"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("unicode"), Qt::CaseInsensitive)) {
setElementUnicode(reader.readElementText().toInt()); setElementUnicode(reader.readElementText().toInt());
continue; continue;
@ -4764,7 +4764,7 @@ void DomUrl::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("string"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("string"), Qt::CaseInsensitive)) {
auto *v = new DomString(); auto *v = new DomString();
v->read(reader); v->read(reader);
@ -4899,7 +4899,7 @@ void DomProperty::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("name")) { if (name == QLatin1String("name")) {
setAttributeName(attribute.value().toString()); setAttributeName(attribute.value().toString());
continue; continue;
@ -4914,7 +4914,7 @@ void DomProperty::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("bool"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("bool"), Qt::CaseInsensitive)) {
setElementBool(reader.readElementText()); setElementBool(reader.readElementText());
continue; continue;
@ -5659,7 +5659,7 @@ void DomConnections::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("connection"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("connection"), Qt::CaseInsensitive)) {
auto *v = new DomConnection(); auto *v = new DomConnection();
v->read(reader); v->read(reader);
@ -5703,7 +5703,7 @@ void DomConnection::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("sender"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("sender"), Qt::CaseInsensitive)) {
setElementSender(reader.readElementText()); setElementSender(reader.readElementText());
continue; continue;
@ -5836,7 +5836,7 @@ void DomConnectionHints::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("hint"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("hint"), Qt::CaseInsensitive)) {
auto *v = new DomConnectionHint(); auto *v = new DomConnectionHint();
v->read(reader); v->read(reader);
@ -5876,7 +5876,7 @@ void DomConnectionHint::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("type")) { if (name == QLatin1String("type")) {
setAttributeType(attribute.value().toString()); setAttributeType(attribute.value().toString());
continue; continue;
@ -5887,7 +5887,7 @@ void DomConnectionHint::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("x"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("x"), Qt::CaseInsensitive)) {
setElementX(reader.readElementText().toInt()); setElementX(reader.readElementText().toInt());
continue; continue;
@ -5956,7 +5956,7 @@ void DomDesignerData::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("property"), Qt::CaseInsensitive)) {
auto *v = new DomProperty(); auto *v = new DomProperty();
v->read(reader); v->read(reader);
@ -6001,7 +6001,7 @@ void DomSlots::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("signal"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("signal"), Qt::CaseInsensitive)) {
m_signal.append(reader.readElementText()); m_signal.append(reader.readElementText());
continue; continue;
@ -6059,7 +6059,7 @@ void DomPropertySpecifications::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
if (!tag.compare(QLatin1String("tooltip"), Qt::CaseInsensitive)) { if (!tag.compare(QLatin1String("tooltip"), Qt::CaseInsensitive)) {
auto *v = new DomPropertyToolTip(); auto *v = new DomPropertyToolTip();
v->read(reader); v->read(reader);
@ -6114,7 +6114,7 @@ void DomPropertyToolTip::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("name")) { if (name == QLatin1String("name")) {
setAttributeName(attribute.value().toString()); setAttributeName(attribute.value().toString());
continue; continue;
@ -6125,7 +6125,7 @@ void DomPropertyToolTip::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
reader.raiseError(QLatin1String("Unexpected element ") + tag); reader.raiseError(QLatin1String("Unexpected element ") + tag);
} }
break; break;
@ -6153,7 +6153,7 @@ void DomStringPropertySpecification::read(QXmlStreamReader &reader)
{ {
const QXmlStreamAttributes &attributes = reader.attributes(); const QXmlStreamAttributes &attributes = reader.attributes();
for (const QXmlStreamAttribute &attribute : attributes) { for (const QXmlStreamAttribute &attribute : attributes) {
const QStringRef name = attribute.name(); const auto name = attribute.name();
if (name == QLatin1String("name")) { if (name == QLatin1String("name")) {
setAttributeName(attribute.value().toString()); setAttributeName(attribute.value().toString());
continue; continue;
@ -6172,7 +6172,7 @@ void DomStringPropertySpecification::read(QXmlStreamReader &reader)
while (!reader.hasError()) { while (!reader.hasError()) {
switch (reader.readNext()) { switch (reader.readNext()) {
case QXmlStreamReader::StartElement : { case QXmlStreamReader::StartElement : {
const QStringRef tag = reader.name(); const auto tag = reader.name();
reader.raiseError(QLatin1String("Unexpected element ") + tag); reader.raiseError(QLatin1String("Unexpected element ") + tag);
} }
break; break;

View File

@ -140,7 +140,7 @@ class DomStringPropertySpecification;
*/ */
class QDESIGNER_UILIB_EXPORT DomUI { class QDESIGNER_UILIB_EXPORT DomUI {
Q_DISABLE_COPY(DomUI) Q_DISABLE_COPY_MOVE(DomUI)
public: public:
DomUI() = default; DomUI() = default;
~DomUI(); ~DomUI();
@ -339,7 +339,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomIncludes { class QDESIGNER_UILIB_EXPORT DomIncludes {
Q_DISABLE_COPY(DomIncludes) Q_DISABLE_COPY_MOVE(DomIncludes)
public: public:
DomIncludes() = default; DomIncludes() = default;
~DomIncludes(); ~DomIncludes();
@ -363,7 +363,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomInclude { class QDESIGNER_UILIB_EXPORT DomInclude {
Q_DISABLE_COPY(DomInclude) Q_DISABLE_COPY_MOVE(DomInclude)
public: public:
DomInclude() = default; DomInclude() = default;
~DomInclude(); ~DomInclude();
@ -397,7 +397,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomResources { class QDESIGNER_UILIB_EXPORT DomResources {
Q_DISABLE_COPY(DomResources) Q_DISABLE_COPY_MOVE(DomResources)
public: public:
DomResources() = default; DomResources() = default;
~DomResources(); ~DomResources();
@ -430,7 +430,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomResource { class QDESIGNER_UILIB_EXPORT DomResource {
Q_DISABLE_COPY(DomResource) Q_DISABLE_COPY_MOVE(DomResource)
public: public:
DomResource() = default; DomResource() = default;
~DomResource(); ~DomResource();
@ -451,7 +451,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomActionGroup { class QDESIGNER_UILIB_EXPORT DomActionGroup {
Q_DISABLE_COPY(DomActionGroup) Q_DISABLE_COPY_MOVE(DomActionGroup)
public: public:
DomActionGroup() = default; DomActionGroup() = default;
~DomActionGroup(); ~DomActionGroup();
@ -499,7 +499,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomAction { class QDESIGNER_UILIB_EXPORT DomAction {
Q_DISABLE_COPY(DomAction) Q_DISABLE_COPY_MOVE(DomAction)
public: public:
DomAction() = default; DomAction() = default;
~DomAction(); ~DomAction();
@ -545,7 +545,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomActionRef { class QDESIGNER_UILIB_EXPORT DomActionRef {
Q_DISABLE_COPY(DomActionRef) Q_DISABLE_COPY_MOVE(DomActionRef)
public: public:
DomActionRef() = default; DomActionRef() = default;
~DomActionRef(); ~DomActionRef();
@ -566,7 +566,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomButtonGroup { class QDESIGNER_UILIB_EXPORT DomButtonGroup {
Q_DISABLE_COPY(DomButtonGroup) Q_DISABLE_COPY_MOVE(DomButtonGroup)
public: public:
DomButtonGroup() = default; DomButtonGroup() = default;
~DomButtonGroup(); ~DomButtonGroup();
@ -604,7 +604,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomButtonGroups { class QDESIGNER_UILIB_EXPORT DomButtonGroups {
Q_DISABLE_COPY(DomButtonGroups) Q_DISABLE_COPY_MOVE(DomButtonGroups)
public: public:
DomButtonGroups() = default; DomButtonGroups() = default;
~DomButtonGroups(); ~DomButtonGroups();
@ -628,7 +628,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomCustomWidgets { class QDESIGNER_UILIB_EXPORT DomCustomWidgets {
Q_DISABLE_COPY(DomCustomWidgets) Q_DISABLE_COPY_MOVE(DomCustomWidgets)
public: public:
DomCustomWidgets() = default; DomCustomWidgets() = default;
~DomCustomWidgets(); ~DomCustomWidgets();
@ -652,7 +652,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomHeader { class QDESIGNER_UILIB_EXPORT DomHeader {
Q_DISABLE_COPY(DomHeader) Q_DISABLE_COPY_MOVE(DomHeader)
public: public:
DomHeader() = default; DomHeader() = default;
~DomHeader(); ~DomHeader();
@ -678,7 +678,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomCustomWidget { class QDESIGNER_UILIB_EXPORT DomCustomWidget {
Q_DISABLE_COPY(DomCustomWidget) Q_DISABLE_COPY_MOVE(DomCustomWidget)
public: public:
DomCustomWidget() = default; DomCustomWidget() = default;
~DomCustomWidget(); ~DomCustomWidget();
@ -764,7 +764,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomLayoutDefault { class QDESIGNER_UILIB_EXPORT DomLayoutDefault {
Q_DISABLE_COPY(DomLayoutDefault) Q_DISABLE_COPY_MOVE(DomLayoutDefault)
public: public:
DomLayoutDefault() = default; DomLayoutDefault() = default;
~DomLayoutDefault(); ~DomLayoutDefault();
@ -793,7 +793,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomLayoutFunction { class QDESIGNER_UILIB_EXPORT DomLayoutFunction {
Q_DISABLE_COPY(DomLayoutFunction) Q_DISABLE_COPY_MOVE(DomLayoutFunction)
public: public:
DomLayoutFunction() = default; DomLayoutFunction() = default;
~DomLayoutFunction(); ~DomLayoutFunction();
@ -822,7 +822,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomTabStops { class QDESIGNER_UILIB_EXPORT DomTabStops {
Q_DISABLE_COPY(DomTabStops) Q_DISABLE_COPY_MOVE(DomTabStops)
public: public:
DomTabStops() = default; DomTabStops() = default;
~DomTabStops(); ~DomTabStops();
@ -846,7 +846,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomLayout { class QDESIGNER_UILIB_EXPORT DomLayout {
Q_DISABLE_COPY(DomLayout) Q_DISABLE_COPY_MOVE(DomLayout)
public: public:
DomLayout() = default; DomLayout() = default;
~DomLayout(); ~DomLayout();
@ -937,7 +937,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomLayoutItem { class QDESIGNER_UILIB_EXPORT DomLayoutItem {
Q_DISABLE_COPY(DomLayoutItem) Q_DISABLE_COPY_MOVE(DomLayoutItem)
public: public:
DomLayoutItem() = default; DomLayoutItem() = default;
~DomLayoutItem(); ~DomLayoutItem();
@ -1014,7 +1014,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomRow { class QDESIGNER_UILIB_EXPORT DomRow {
Q_DISABLE_COPY(DomRow) Q_DISABLE_COPY_MOVE(DomRow)
public: public:
DomRow() = default; DomRow() = default;
~DomRow(); ~DomRow();
@ -1038,7 +1038,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomColumn { class QDESIGNER_UILIB_EXPORT DomColumn {
Q_DISABLE_COPY(DomColumn) Q_DISABLE_COPY_MOVE(DomColumn)
public: public:
DomColumn() = default; DomColumn() = default;
~DomColumn(); ~DomColumn();
@ -1062,7 +1062,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomItem { class QDESIGNER_UILIB_EXPORT DomItem {
Q_DISABLE_COPY(DomItem) Q_DISABLE_COPY_MOVE(DomItem)
public: public:
DomItem() = default; DomItem() = default;
~DomItem(); ~DomItem();
@ -1108,7 +1108,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomWidget { class QDESIGNER_UILIB_EXPORT DomWidget {
Q_DISABLE_COPY(DomWidget) Q_DISABLE_COPY_MOVE(DomWidget)
public: public:
DomWidget() = default; DomWidget() = default;
~DomWidget(); ~DomWidget();
@ -1212,7 +1212,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomSpacer { class QDESIGNER_UILIB_EXPORT DomSpacer {
Q_DISABLE_COPY(DomSpacer) Q_DISABLE_COPY_MOVE(DomSpacer)
public: public:
DomSpacer() = default; DomSpacer() = default;
~DomSpacer(); ~DomSpacer();
@ -1245,7 +1245,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomColor { class QDESIGNER_UILIB_EXPORT DomColor {
Q_DISABLE_COPY(DomColor) Q_DISABLE_COPY_MOVE(DomColor)
public: public:
DomColor() = default; DomColor() = default;
~DomColor(); ~DomColor();
@ -1294,7 +1294,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomGradientStop { class QDESIGNER_UILIB_EXPORT DomGradientStop {
Q_DISABLE_COPY(DomGradientStop) Q_DISABLE_COPY_MOVE(DomGradientStop)
public: public:
DomGradientStop() = default; DomGradientStop() = default;
~DomGradientStop(); ~DomGradientStop();
@ -1330,7 +1330,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomGradient { class QDESIGNER_UILIB_EXPORT DomGradient {
Q_DISABLE_COPY(DomGradient) Q_DISABLE_COPY_MOVE(DomGradient)
public: public:
DomGradient() = default; DomGradient() = default;
~DomGradient(); ~DomGradient();
@ -1459,7 +1459,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomBrush { class QDESIGNER_UILIB_EXPORT DomBrush {
Q_DISABLE_COPY(DomBrush) Q_DISABLE_COPY_MOVE(DomBrush)
public: public:
DomBrush() = default; DomBrush() = default;
~DomBrush(); ~DomBrush();
@ -1504,7 +1504,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomColorRole { class QDESIGNER_UILIB_EXPORT DomColorRole {
Q_DISABLE_COPY(DomColorRole) Q_DISABLE_COPY_MOVE(DomColorRole)
public: public:
DomColorRole() = default; DomColorRole() = default;
~DomColorRole(); ~DomColorRole();
@ -1540,7 +1540,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomColorGroup { class QDESIGNER_UILIB_EXPORT DomColorGroup {
Q_DISABLE_COPY(DomColorGroup) Q_DISABLE_COPY_MOVE(DomColorGroup)
public: public:
DomColorGroup() = default; DomColorGroup() = default;
~DomColorGroup(); ~DomColorGroup();
@ -1569,7 +1569,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomPalette { class QDESIGNER_UILIB_EXPORT DomPalette {
Q_DISABLE_COPY(DomPalette) Q_DISABLE_COPY_MOVE(DomPalette)
public: public:
DomPalette() = default; DomPalette() = default;
~DomPalette(); ~DomPalette();
@ -1612,7 +1612,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomFont { class QDESIGNER_UILIB_EXPORT DomFont {
Q_DISABLE_COPY(DomFont) Q_DISABLE_COPY_MOVE(DomFont)
public: public:
DomFont() = default; DomFont() = default;
~DomFont(); ~DomFont();
@ -1701,7 +1701,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomPoint { class QDESIGNER_UILIB_EXPORT DomPoint {
Q_DISABLE_COPY(DomPoint) Q_DISABLE_COPY_MOVE(DomPoint)
public: public:
DomPoint() = default; DomPoint() = default;
~DomPoint(); ~DomPoint();
@ -1734,7 +1734,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomRect { class QDESIGNER_UILIB_EXPORT DomRect {
Q_DISABLE_COPY(DomRect) Q_DISABLE_COPY_MOVE(DomRect)
public: public:
DomRect() = default; DomRect() = default;
~DomRect(); ~DomRect();
@ -1781,7 +1781,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomLocale { class QDESIGNER_UILIB_EXPORT DomLocale {
Q_DISABLE_COPY(DomLocale) Q_DISABLE_COPY_MOVE(DomLocale)
public: public:
DomLocale() = default; DomLocale() = default;
~DomLocale(); ~DomLocale();
@ -1810,7 +1810,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomSizePolicy { class QDESIGNER_UILIB_EXPORT DomSizePolicy {
Q_DISABLE_COPY(DomSizePolicy) Q_DISABLE_COPY_MOVE(DomSizePolicy)
public: public:
DomSizePolicy() = default; DomSizePolicy() = default;
~DomSizePolicy(); ~DomSizePolicy();
@ -1874,7 +1874,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomSize { class QDESIGNER_UILIB_EXPORT DomSize {
Q_DISABLE_COPY(DomSize) Q_DISABLE_COPY_MOVE(DomSize)
public: public:
DomSize() = default; DomSize() = default;
~DomSize(); ~DomSize();
@ -1907,7 +1907,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomDate { class QDESIGNER_UILIB_EXPORT DomDate {
Q_DISABLE_COPY(DomDate) Q_DISABLE_COPY_MOVE(DomDate)
public: public:
DomDate() = default; DomDate() = default;
~DomDate(); ~DomDate();
@ -1947,7 +1947,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomTime { class QDESIGNER_UILIB_EXPORT DomTime {
Q_DISABLE_COPY(DomTime) Q_DISABLE_COPY_MOVE(DomTime)
public: public:
DomTime() = default; DomTime() = default;
~DomTime(); ~DomTime();
@ -1987,7 +1987,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomDateTime { class QDESIGNER_UILIB_EXPORT DomDateTime {
Q_DISABLE_COPY(DomDateTime) Q_DISABLE_COPY_MOVE(DomDateTime)
public: public:
DomDateTime() = default; DomDateTime() = default;
~DomDateTime(); ~DomDateTime();
@ -2048,7 +2048,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomStringList { class QDESIGNER_UILIB_EXPORT DomStringList {
Q_DISABLE_COPY(DomStringList) Q_DISABLE_COPY_MOVE(DomStringList)
public: public:
DomStringList() = default; DomStringList() = default;
~DomStringList(); ~DomStringList();
@ -2105,7 +2105,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomResourcePixmap { class QDESIGNER_UILIB_EXPORT DomResourcePixmap {
Q_DISABLE_COPY(DomResourcePixmap) Q_DISABLE_COPY_MOVE(DomResourcePixmap)
public: public:
DomResourcePixmap() = default; DomResourcePixmap() = default;
~DomResourcePixmap(); ~DomResourcePixmap();
@ -2139,7 +2139,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomResourceIcon { class QDESIGNER_UILIB_EXPORT DomResourceIcon {
Q_DISABLE_COPY(DomResourceIcon) Q_DISABLE_COPY_MOVE(DomResourceIcon)
public: public:
DomResourceIcon() = default; DomResourceIcon() = default;
~DomResourceIcon(); ~DomResourceIcon();
@ -2244,7 +2244,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomString { class QDESIGNER_UILIB_EXPORT DomString {
Q_DISABLE_COPY(DomString) Q_DISABLE_COPY_MOVE(DomString)
public: public:
DomString() = default; DomString() = default;
~DomString(); ~DomString();
@ -2294,7 +2294,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomPointF { class QDESIGNER_UILIB_EXPORT DomPointF {
Q_DISABLE_COPY(DomPointF) Q_DISABLE_COPY_MOVE(DomPointF)
public: public:
DomPointF() = default; DomPointF() = default;
~DomPointF(); ~DomPointF();
@ -2327,7 +2327,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomRectF { class QDESIGNER_UILIB_EXPORT DomRectF {
Q_DISABLE_COPY(DomRectF) Q_DISABLE_COPY_MOVE(DomRectF)
public: public:
DomRectF() = default; DomRectF() = default;
~DomRectF(); ~DomRectF();
@ -2374,7 +2374,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomSizeF { class QDESIGNER_UILIB_EXPORT DomSizeF {
Q_DISABLE_COPY(DomSizeF) Q_DISABLE_COPY_MOVE(DomSizeF)
public: public:
DomSizeF() = default; DomSizeF() = default;
~DomSizeF(); ~DomSizeF();
@ -2407,7 +2407,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomChar { class QDESIGNER_UILIB_EXPORT DomChar {
Q_DISABLE_COPY(DomChar) Q_DISABLE_COPY_MOVE(DomChar)
public: public:
DomChar() = default; DomChar() = default;
~DomChar(); ~DomChar();
@ -2433,7 +2433,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomUrl { class QDESIGNER_UILIB_EXPORT DomUrl {
Q_DISABLE_COPY(DomUrl) Q_DISABLE_COPY_MOVE(DomUrl)
public: public:
DomUrl() = default; DomUrl() = default;
~DomUrl(); ~DomUrl();
@ -2460,7 +2460,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomProperty { class QDESIGNER_UILIB_EXPORT DomProperty {
Q_DISABLE_COPY(DomProperty) Q_DISABLE_COPY_MOVE(DomProperty)
public: public:
DomProperty() = default; DomProperty() = default;
~DomProperty(); ~DomProperty();
@ -2651,7 +2651,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomConnections { class QDESIGNER_UILIB_EXPORT DomConnections {
Q_DISABLE_COPY(DomConnections) Q_DISABLE_COPY_MOVE(DomConnections)
public: public:
DomConnections() = default; DomConnections() = default;
~DomConnections(); ~DomConnections();
@ -2675,7 +2675,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomConnection { class QDESIGNER_UILIB_EXPORT DomConnection {
Q_DISABLE_COPY(DomConnection) Q_DISABLE_COPY_MOVE(DomConnection)
public: public:
DomConnection() = default; DomConnection() = default;
~DomConnection(); ~DomConnection();
@ -2730,7 +2730,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomConnectionHints { class QDESIGNER_UILIB_EXPORT DomConnectionHints {
Q_DISABLE_COPY(DomConnectionHints) Q_DISABLE_COPY_MOVE(DomConnectionHints)
public: public:
DomConnectionHints() = default; DomConnectionHints() = default;
~DomConnectionHints(); ~DomConnectionHints();
@ -2754,7 +2754,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomConnectionHint { class QDESIGNER_UILIB_EXPORT DomConnectionHint {
Q_DISABLE_COPY(DomConnectionHint) Q_DISABLE_COPY_MOVE(DomConnectionHint)
public: public:
DomConnectionHint() = default; DomConnectionHint() = default;
~DomConnectionHint(); ~DomConnectionHint();
@ -2796,7 +2796,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomDesignerData { class QDESIGNER_UILIB_EXPORT DomDesignerData {
Q_DISABLE_COPY(DomDesignerData) Q_DISABLE_COPY_MOVE(DomDesignerData)
public: public:
DomDesignerData() = default; DomDesignerData() = default;
~DomDesignerData(); ~DomDesignerData();
@ -2820,7 +2820,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomSlots { class QDESIGNER_UILIB_EXPORT DomSlots {
Q_DISABLE_COPY(DomSlots) Q_DISABLE_COPY_MOVE(DomSlots)
public: public:
DomSlots() = default; DomSlots() = default;
~DomSlots(); ~DomSlots();
@ -2849,7 +2849,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomPropertySpecifications { class QDESIGNER_UILIB_EXPORT DomPropertySpecifications {
Q_DISABLE_COPY(DomPropertySpecifications) Q_DISABLE_COPY_MOVE(DomPropertySpecifications)
public: public:
DomPropertySpecifications() = default; DomPropertySpecifications() = default;
~DomPropertySpecifications(); ~DomPropertySpecifications();
@ -2878,7 +2878,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomPropertyToolTip { class QDESIGNER_UILIB_EXPORT DomPropertyToolTip {
Q_DISABLE_COPY(DomPropertyToolTip) Q_DISABLE_COPY_MOVE(DomPropertyToolTip)
public: public:
DomPropertyToolTip() = default; DomPropertyToolTip() = default;
~DomPropertyToolTip(); ~DomPropertyToolTip();
@ -2899,7 +2899,7 @@ private:
}; };
class QDESIGNER_UILIB_EXPORT DomStringPropertySpecification { class QDESIGNER_UILIB_EXPORT DomStringPropertySpecification {
Q_DISABLE_COPY(DomStringPropertySpecification) Q_DISABLE_COPY_MOVE(DomStringPropertySpecification)
public: public:
DomStringPropertySpecification() = default; DomStringPropertySpecification() = default;
~DomStringPropertySpecification(); ~DomStringPropertySpecification();