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/helpdialog.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/helpdialog.ui.h')
-rw-r--r-- | tests/auto/tools/uic/baseline/helpdialog.ui.h | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/tests/auto/tools/uic/baseline/helpdialog.ui.h b/tests/auto/tools/uic/baseline/helpdialog.ui.h index 070f0484f1..1f6cf8783d 100644 --- a/tests/auto/tools/uic/baseline/helpdialog.ui.h +++ b/tests/auto/tools/uic/baseline/helpdialog.ui.h @@ -296,77 +296,77 @@ public: void retranslateUi(QWidget *HelpDialog) { - HelpDialog->setWindowTitle(QApplication::translate("HelpDialog", "Help", nullptr)); + HelpDialog->setWindowTitle(QCoreApplication::translate("HelpDialog", "Help", nullptr)); #if QT_CONFIG(whatsthis) - HelpDialog->setWhatsThis(QApplication::translate("HelpDialog", "<b>Help</b><p>Choose the topic you want help on from the contents list, or search the index for keywords.</p>", nullptr)); + HelpDialog->setWhatsThis(QCoreApplication::translate("HelpDialog", "<b>Help</b><p>Choose the topic you want help on from the contents list, or search the index for keywords.</p>", nullptr)); #endif // QT_CONFIG(whatsthis) #if QT_CONFIG(whatsthis) - tabWidget->setWhatsThis(QApplication::translate("HelpDialog", "Displays help topics organized by category, index or bookmarks. Another tab inherits the full text search.", nullptr)); + tabWidget->setWhatsThis(QCoreApplication::translate("HelpDialog", "Displays help topics organized by category, index or bookmarks. Another tab inherits the full text search.", nullptr)); #endif // QT_CONFIG(whatsthis) QTreeWidgetItem *___qtreewidgetitem = listContents->headerItem(); - ___qtreewidgetitem->setText(0, QApplication::translate("HelpDialog", "column 1", nullptr)); + ___qtreewidgetitem->setText(0, QCoreApplication::translate("HelpDialog", "column 1", nullptr)); #if QT_CONFIG(whatsthis) - listContents->setWhatsThis(QApplication::translate("HelpDialog", "<b>Help topics organized by category.</b><p>Double-click an item to see the topics in that category. To view a topic, just double-click it.</p>", nullptr)); + listContents->setWhatsThis(QCoreApplication::translate("HelpDialog", "<b>Help topics organized by category.</b><p>Double-click an item to see the topics in that category. To view a topic, just double-click it.</p>", nullptr)); #endif // QT_CONFIG(whatsthis) - tabWidget->setTabText(tabWidget->indexOf(contentPage), QApplication::translate("HelpDialog", "Con&tents", nullptr)); - TextLabel1->setText(QApplication::translate("HelpDialog", "&Look For:", nullptr)); + tabWidget->setTabText(tabWidget->indexOf(contentPage), QCoreApplication::translate("HelpDialog", "Con&tents", nullptr)); + TextLabel1->setText(QCoreApplication::translate("HelpDialog", "&Look For:", nullptr)); #if QT_CONFIG(tooltip) - editIndex->setToolTip(QApplication::translate("HelpDialog", "Enter keyword", nullptr)); + editIndex->setToolTip(QCoreApplication::translate("HelpDialog", "Enter keyword", nullptr)); #endif // QT_CONFIG(tooltip) #if QT_CONFIG(whatsthis) - editIndex->setWhatsThis(QApplication::translate("HelpDialog", "<b>Enter a keyword.</b><p>The list will select an item that matches the entered string best.</p>", nullptr)); + editIndex->setWhatsThis(QCoreApplication::translate("HelpDialog", "<b>Enter a keyword.</b><p>The list will select an item that matches the entered string best.</p>", nullptr)); #endif // QT_CONFIG(whatsthis) #if QT_CONFIG(whatsthis) - listIndex->setWhatsThis(QApplication::translate("HelpDialog", "<b>List of available help topics.</b><p>Double-click on an item to open its help page. If more than one is found, you must specify which page you want.</p>", nullptr)); + listIndex->setWhatsThis(QCoreApplication::translate("HelpDialog", "<b>List of available help topics.</b><p>Double-click on an item to open its help page. If more than one is found, you must specify which page you want.</p>", nullptr)); #endif // QT_CONFIG(whatsthis) - tabWidget->setTabText(tabWidget->indexOf(indexPage), QApplication::translate("HelpDialog", "&Index", nullptr)); + tabWidget->setTabText(tabWidget->indexOf(indexPage), QCoreApplication::translate("HelpDialog", "&Index", nullptr)); QTreeWidgetItem *___qtreewidgetitem1 = listBookmarks->headerItem(); - ___qtreewidgetitem1->setText(0, QApplication::translate("HelpDialog", "column 1", nullptr)); + ___qtreewidgetitem1->setText(0, QCoreApplication::translate("HelpDialog", "column 1", nullptr)); #if QT_CONFIG(whatsthis) - listBookmarks->setWhatsThis(QApplication::translate("HelpDialog", "Displays the list of bookmarks.", nullptr)); + listBookmarks->setWhatsThis(QCoreApplication::translate("HelpDialog", "Displays the list of bookmarks.", nullptr)); #endif // QT_CONFIG(whatsthis) #if QT_CONFIG(tooltip) - buttonAdd->setToolTip(QApplication::translate("HelpDialog", "Add new bookmark", nullptr)); + buttonAdd->setToolTip(QCoreApplication::translate("HelpDialog", "Add new bookmark", nullptr)); #endif // QT_CONFIG(tooltip) #if QT_CONFIG(whatsthis) - buttonAdd->setWhatsThis(QApplication::translate("HelpDialog", "Add the currently displayed page as a new bookmark.", nullptr)); + buttonAdd->setWhatsThis(QCoreApplication::translate("HelpDialog", "Add the currently displayed page as a new bookmark.", nullptr)); #endif // QT_CONFIG(whatsthis) - buttonAdd->setText(QApplication::translate("HelpDialog", "&New", nullptr)); + buttonAdd->setText(QCoreApplication::translate("HelpDialog", "&New", nullptr)); #if QT_CONFIG(tooltip) - buttonRemove->setToolTip(QApplication::translate("HelpDialog", "Delete bookmark", nullptr)); + buttonRemove->setToolTip(QCoreApplication::translate("HelpDialog", "Delete bookmark", nullptr)); #endif // QT_CONFIG(tooltip) #if QT_CONFIG(whatsthis) - buttonRemove->setWhatsThis(QApplication::translate("HelpDialog", "Delete the selected bookmark.", nullptr)); + buttonRemove->setWhatsThis(QCoreApplication::translate("HelpDialog", "Delete the selected bookmark.", nullptr)); #endif // QT_CONFIG(whatsthis) - buttonRemove->setText(QApplication::translate("HelpDialog", "&Delete", nullptr)); - tabWidget->setTabText(tabWidget->indexOf(bookmarkPage), QApplication::translate("HelpDialog", "&Bookmarks", nullptr)); - TextLabel1_2->setText(QApplication::translate("HelpDialog", "Searching f&or:", nullptr)); + buttonRemove->setText(QCoreApplication::translate("HelpDialog", "&Delete", nullptr)); + tabWidget->setTabText(tabWidget->indexOf(bookmarkPage), QCoreApplication::translate("HelpDialog", "&Bookmarks", nullptr)); + TextLabel1_2->setText(QCoreApplication::translate("HelpDialog", "Searching f&or:", nullptr)); #if QT_CONFIG(tooltip) - termsEdit->setToolTip(QApplication::translate("HelpDialog", "Enter searchword(s).", nullptr)); + termsEdit->setToolTip(QCoreApplication::translate("HelpDialog", "Enter searchword(s).", nullptr)); #endif // QT_CONFIG(tooltip) #if QT_CONFIG(whatsthis) - termsEdit->setWhatsThis(QApplication::translate("HelpDialog", "<b>Enter search word(s).</b><p>Enter here the word(s) you are looking for. The words may contain wildcards (*). For a sequence of words quote them.</p>", nullptr)); + termsEdit->setWhatsThis(QCoreApplication::translate("HelpDialog", "<b>Enter search word(s).</b><p>Enter here the word(s) you are looking for. The words may contain wildcards (*). For a sequence of words quote them.</p>", nullptr)); #endif // QT_CONFIG(whatsthis) #if QT_CONFIG(whatsthis) - resultBox->setWhatsThis(QApplication::translate("HelpDialog", "<b>Found documents</b><p>This list contains all found documents from the last search. The documents are ordered, i.e. the first document has the most matches.</p>", nullptr)); + resultBox->setWhatsThis(QCoreApplication::translate("HelpDialog", "<b>Found documents</b><p>This list contains all found documents from the last search. The documents are ordered, i.e. the first document has the most matches.</p>", nullptr)); #endif // QT_CONFIG(whatsthis) - TextLabel2->setText(QApplication::translate("HelpDialog", "Found &Documents:", nullptr)); + TextLabel2->setText(QCoreApplication::translate("HelpDialog", "Found &Documents:", nullptr)); #if QT_CONFIG(tooltip) - helpButton->setToolTip(QApplication::translate("HelpDialog", "Display the help page.", nullptr)); + helpButton->setToolTip(QCoreApplication::translate("HelpDialog", "Display the help page.", nullptr)); #endif // QT_CONFIG(tooltip) #if QT_CONFIG(whatsthis) - helpButton->setWhatsThis(QApplication::translate("HelpDialog", "Display the help page for the full text search.", nullptr)); + helpButton->setWhatsThis(QCoreApplication::translate("HelpDialog", "Display the help page for the full text search.", nullptr)); #endif // QT_CONFIG(whatsthis) - helpButton->setText(QApplication::translate("HelpDialog", "He&lp", nullptr)); + helpButton->setText(QCoreApplication::translate("HelpDialog", "He&lp", nullptr)); #if QT_CONFIG(tooltip) - searchButton->setToolTip(QApplication::translate("HelpDialog", "Start searching.", nullptr)); + searchButton->setToolTip(QCoreApplication::translate("HelpDialog", "Start searching.", nullptr)); #endif // QT_CONFIG(tooltip) #if QT_CONFIG(whatsthis) - searchButton->setWhatsThis(QApplication::translate("HelpDialog", "Pressing this button starts the search.", nullptr)); + searchButton->setWhatsThis(QCoreApplication::translate("HelpDialog", "Pressing this button starts the search.", nullptr)); #endif // QT_CONFIG(whatsthis) - searchButton->setText(QApplication::translate("HelpDialog", "&Search", nullptr)); - tabWidget->setTabText(tabWidget->indexOf(searchPage), QApplication::translate("HelpDialog", "&Search", nullptr)); - labelPrepare->setText(QApplication::translate("HelpDialog", "Preparing...", nullptr)); + searchButton->setText(QCoreApplication::translate("HelpDialog", "&Search", nullptr)); + tabWidget->setTabText(tabWidget->indexOf(searchPage), QCoreApplication::translate("HelpDialog", "&Search", nullptr)); + labelPrepare->setText(QCoreApplication::translate("HelpDialog", "Preparing...", nullptr)); } // retranslateUi }; |