diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-05-17 02:37:23 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-18 22:38:55 +0200 |
commit | 7968543bb0308395226a8847274dc3b836dd7b87 (patch) | |
tree | 9e449b49d0e2f271bdad50008954d735711a1606 /tests/auto/tools/uic/baseline/sslclient.ui.h | |
parent | 8df298665a1e637ab6d26d5fcc447d5502afe31a (diff) |
Don't use the deprecated translate() method anymore
The Encoding argument of QCoreApplication::translate()
is deprecated and source code is always assumed to be
encoded in Utf8. Simply remove the encoding argument
from the generated .ui.h files.
Change-Id: If6c40f6df13abd45a0303c863077972c3d1fb685
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/tools/uic/baseline/sslclient.ui.h')
-rw-r--r-- | tests/auto/tools/uic/baseline/sslclient.ui.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/auto/tools/uic/baseline/sslclient.ui.h b/tests/auto/tools/uic/baseline/sslclient.ui.h index 7d5b83b5db..f4d2c25a04 100644 --- a/tests/auto/tools/uic/baseline/sslclient.ui.h +++ b/tests/auto/tools/uic/baseline/sslclient.ui.h @@ -157,20 +157,20 @@ public: void retranslateUi(QWidget *Form) { - Form->setWindowTitle(QApplication::translate("Form", "Secure Socket Client", 0, QApplication::UnicodeUTF8)); - hostNameLabel->setText(QApplication::translate("Form", "Host name:", 0, QApplication::UnicodeUTF8)); - hostNameEdit->setText(QApplication::translate("Form", "imap.example.com", 0, QApplication::UnicodeUTF8)); - portLabel->setText(QApplication::translate("Form", "Port:", 0, QApplication::UnicodeUTF8)); - connectButton->setText(QApplication::translate("Form", "Connect to host", 0, QApplication::UnicodeUTF8)); - sessionBox->setTitle(QApplication::translate("Form", "Active session", 0, QApplication::UnicodeUTF8)); - cipherText->setText(QApplication::translate("Form", "Cryptographic Cipher:", 0, QApplication::UnicodeUTF8)); - cipherLabel->setText(QApplication::translate("Form", "<none>", 0, QApplication::UnicodeUTF8)); + Form->setWindowTitle(QApplication::translate("Form", "Secure Socket Client", 0)); + hostNameLabel->setText(QApplication::translate("Form", "Host name:", 0)); + hostNameEdit->setText(QApplication::translate("Form", "imap.example.com", 0)); + portLabel->setText(QApplication::translate("Form", "Port:", 0)); + connectButton->setText(QApplication::translate("Form", "Connect to host", 0)); + sessionBox->setTitle(QApplication::translate("Form", "Active session", 0)); + cipherText->setText(QApplication::translate("Form", "Cryptographic Cipher:", 0)); + cipherLabel->setText(QApplication::translate("Form", "<none>", 0)); sessionOutput->setHtml(QApplication::translate("Form", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;\">\n" -"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", 0, QApplication::UnicodeUTF8)); - sessionInputLabel->setText(QApplication::translate("Form", "Input:", 0, QApplication::UnicodeUTF8)); - sendButton->setText(QApplication::translate("Form", "&Send", 0, QApplication::UnicodeUTF8)); +"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", 0)); + sessionInputLabel->setText(QApplication::translate("Form", "Input:", 0)); + sendButton->setText(QApplication::translate("Form", "&Send", 0)); } // retranslateUi }; |