summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/uic/baseline/saveformastemplate.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/uic/baseline/saveformastemplate.ui.h')
-rw-r--r--tests/auto/tools/uic/baseline/saveformastemplate.ui.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/tools/uic/baseline/saveformastemplate.ui.h b/tests/auto/tools/uic/baseline/saveformastemplate.ui.h
index 22229fd9b6..2b0f2cbae9 100644
--- a/tests/auto/tools/uic/baseline/saveformastemplate.ui.h
+++ b/tests/auto/tools/uic/baseline/saveformastemplate.ui.h
@@ -40,6 +40,7 @@
#define SAVEFORMASTEMPLATE_H
#include <QtCore/QVariant>
+#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
@@ -123,8 +124,8 @@ public:
#endif // QT_CONFIG(shortcut)
retranslateUi(SaveFormAsTemplate);
- QObject::connect(buttonBox, SIGNAL(accepted()), SaveFormAsTemplate, SLOT(accept()));
- QObject::connect(buttonBox, SIGNAL(rejected()), SaveFormAsTemplate, SLOT(reject()));
+ QObject::connect(buttonBox, &QDialogButtonBox::accepted, SaveFormAsTemplate, &QDialog::accept);
+ QObject::connect(buttonBox, &QDialogButtonBox::rejected, SaveFormAsTemplate, &QDialog::reject);
QMetaObject::connectSlotsByName(SaveFormAsTemplate);
} // setupUi