diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-11-27 12:31:57 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-12-03 19:05:03 +0000 |
commit | f213e818f03d35cb82e3daf187415197fd156f8e (patch) | |
tree | 3d99992e03ae9054a78fcc705d3d70aba97b03fe /tests/auto/tools/uic/baseline/finddialog.ui.h | |
parent | 68fc972ac84539c642f8d3c1260db3175249efd9 (diff) |
uic: Generate correctly qualified invocation of QCoreApplication::translate()
Change QApplication::translate() to QCoreApplication::translate()
in generator and tests.
Task-number: PYSIDE-797
Change-Id: I0bbaf1f280b74b3b2a701a39203c059ab82fce1f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'tests/auto/tools/uic/baseline/finddialog.ui.h')
-rw-r--r-- | tests/auto/tools/uic/baseline/finddialog.ui.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/auto/tools/uic/baseline/finddialog.ui.h b/tests/auto/tools/uic/baseline/finddialog.ui.h index 843c747b72..f335eee2e4 100644 --- a/tests/auto/tools/uic/baseline/finddialog.ui.h +++ b/tests/auto/tools/uic/baseline/finddialog.ui.h @@ -193,40 +193,40 @@ public: void retranslateUi(QDialog *FindDialog) { - FindDialog->setWindowTitle(QApplication::translate("FindDialog", "Find", nullptr)); + FindDialog->setWindowTitle(QCoreApplication::translate("FindDialog", "Find", nullptr)); #if QT_CONFIG(whatsthis) - FindDialog->setWhatsThis(QApplication::translate("FindDialog", "This window allows you to search for some text in the translation source file.", nullptr)); + FindDialog->setWhatsThis(QCoreApplication::translate("FindDialog", "This window allows you to search for some text in the translation source file.", nullptr)); #endif // QT_CONFIG(whatsthis) - findWhat->setText(QApplication::translate("FindDialog", "&Find what:", nullptr)); + findWhat->setText(QCoreApplication::translate("FindDialog", "&Find what:", nullptr)); #if QT_CONFIG(whatsthis) - led->setWhatsThis(QApplication::translate("FindDialog", "Type in the text to search for.", nullptr)); + led->setWhatsThis(QCoreApplication::translate("FindDialog", "Type in the text to search for.", nullptr)); #endif // QT_CONFIG(whatsthis) - groupBox->setTitle(QApplication::translate("FindDialog", "Options", nullptr)); + groupBox->setTitle(QCoreApplication::translate("FindDialog", "Options", nullptr)); #if QT_CONFIG(whatsthis) - sourceText->setWhatsThis(QApplication::translate("FindDialog", "Source texts are searched when checked.", nullptr)); + sourceText->setWhatsThis(QCoreApplication::translate("FindDialog", "Source texts are searched when checked.", nullptr)); #endif // QT_CONFIG(whatsthis) - sourceText->setText(QApplication::translate("FindDialog", "&Source texts", nullptr)); + sourceText->setText(QCoreApplication::translate("FindDialog", "&Source texts", nullptr)); #if QT_CONFIG(whatsthis) - translations->setWhatsThis(QApplication::translate("FindDialog", "Translations are searched when checked.", nullptr)); + translations->setWhatsThis(QCoreApplication::translate("FindDialog", "Translations are searched when checked.", nullptr)); #endif // QT_CONFIG(whatsthis) - translations->setText(QApplication::translate("FindDialog", "&Translations", nullptr)); + translations->setText(QCoreApplication::translate("FindDialog", "&Translations", nullptr)); #if QT_CONFIG(whatsthis) - matchCase->setWhatsThis(QApplication::translate("FindDialog", "Texts such as 'TeX' and 'tex' are considered as different when checked.", nullptr)); + matchCase->setWhatsThis(QCoreApplication::translate("FindDialog", "Texts such as 'TeX' and 'tex' are considered as different when checked.", nullptr)); #endif // QT_CONFIG(whatsthis) - matchCase->setText(QApplication::translate("FindDialog", "&Match case", nullptr)); + matchCase->setText(QCoreApplication::translate("FindDialog", "&Match case", nullptr)); #if QT_CONFIG(whatsthis) - comments->setWhatsThis(QApplication::translate("FindDialog", "Comments and contexts are searched when checked.", nullptr)); + comments->setWhatsThis(QCoreApplication::translate("FindDialog", "Comments and contexts are searched when checked.", nullptr)); #endif // QT_CONFIG(whatsthis) - comments->setText(QApplication::translate("FindDialog", "&Comments", nullptr)); - ignoreAccelerators->setText(QApplication::translate("FindDialog", "Ignore &accelerators", nullptr)); + comments->setText(QCoreApplication::translate("FindDialog", "&Comments", nullptr)); + ignoreAccelerators->setText(QCoreApplication::translate("FindDialog", "Ignore &accelerators", nullptr)); #if QT_CONFIG(whatsthis) - findNxt->setWhatsThis(QApplication::translate("FindDialog", "Click here to find the next occurrence of the text you typed in.", nullptr)); + findNxt->setWhatsThis(QCoreApplication::translate("FindDialog", "Click here to find the next occurrence of the text you typed in.", nullptr)); #endif // QT_CONFIG(whatsthis) - findNxt->setText(QApplication::translate("FindDialog", "Find Next", nullptr)); + findNxt->setText(QCoreApplication::translate("FindDialog", "Find Next", nullptr)); #if QT_CONFIG(whatsthis) - cancel->setWhatsThis(QApplication::translate("FindDialog", "Click here to close this window.", nullptr)); + cancel->setWhatsThis(QCoreApplication::translate("FindDialog", "Click here to close this window.", nullptr)); #endif // QT_CONFIG(whatsthis) - cancel->setText(QApplication::translate("FindDialog", "Cancel", nullptr)); + cancel->setText(QCoreApplication::translate("FindDialog", "Cancel", nullptr)); } // retranslateUi }; |