diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-01-08 15:12:43 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-18 09:23:38 +0100 |
commit | ab2c90cc525f499f0061a5042e7370bb8db2af94 (patch) | |
tree | 7f18fc9f88364b56ddc8de6bee055cd124ebcadf /tests/auto/other | |
parent | d5912b2a475f6d947fc11c754504afcf3aaddf31 (diff) |
Introduce function for standard button texts to QPlatformTheme.
Change-Id: I91eec04a95b5047d893490a70152237b2991f662
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'tests/auto/other')
-rw-r--r-- | tests/auto/other/languagechange/tst_languagechange.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/other/languagechange/tst_languagechange.cpp b/tests/auto/other/languagechange/tst_languagechange.cpp index cc01d70454..16c3d56385 100644 --- a/tests/auto/other/languagechange/tst_languagechange.cpp +++ b/tests/auto/other/languagechange/tst_languagechange.cpp @@ -188,11 +188,11 @@ void tst_languageChange::retranslatability_data() //next we fill it with data QTest::newRow( "QInputDialog" ) << int(InputDialog) << (QSet<QByteArray>() - << "QDialogButtonBox::Cancel"); + << "QPlatformTheme::Cancel"); QTest::newRow( "QColorDialog" ) << int(ColorDialog) << (QSet<QByteArray>() - << "QDialogButtonBox::Cancel" + << "QPlatformTheme::Cancel" << "QColorDialog::&Sat:" << "QColorDialog::&Add to Custom Colors" << "QColorDialog::&Green:" @@ -237,8 +237,8 @@ void tst_languageChange::retranslatability_data() << "QFileSystemModel::Type::All other platforms" #endif // << "QFileSystemModel::%1 KB" - << "QDialogButtonBox::Cancel" - << "QDialogButtonBox::Open" + << "QPlatformTheme::Cancel" + << "QPlatformTheme::Open" << "QFileDialog::File &name:"); } |