summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/widgets/qfontcombobox
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-10-16 11:08:13 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-19 00:44:54 +0200
commitbb73c085a6092ea10c60e652cb66d8c369cfb65e (patch)
treee06d5f2b88164ff34ddb46f2a1f10f76f7a8fd7c /tests/auto/widgets/widgets/qfontcombobox
parent0783b1670d5862b51747b0246a222878ff3b9c44 (diff)
normalise signal/slot signatures [QtWidgets tests]
Change-Id: Iffab60f0911a55e4be09faeb29df0bae1ea2eb19 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests/auto/widgets/widgets/qfontcombobox')
-rw-r--r--tests/auto/widgets/widgets/qfontcombobox/tst_qfontcombobox.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/widgets/widgets/qfontcombobox/tst_qfontcombobox.cpp b/tests/auto/widgets/widgets/qfontcombobox/tst_qfontcombobox.cpp
index faea7f420d..58ef5f1bf9 100644
--- a/tests/auto/widgets/widgets/qfontcombobox/tst_qfontcombobox.cpp
+++ b/tests/auto/widgets/widgets/qfontcombobox/tst_qfontcombobox.cpp
@@ -142,7 +142,7 @@ void tst_QFontComboBox::currentFont()
QFETCH(QFont, currentFont);
SubQFontComboBox box;
- QSignalSpy spy0(&box, SIGNAL(currentFontChanged(QFont const&)));
+ QSignalSpy spy0(&box, SIGNAL(currentFontChanged(QFont)));
QFont oldCurrentFont = box.currentFont();
box.setCurrentFont(currentFont);
@@ -192,7 +192,7 @@ void tst_QFontComboBox::fontFilters()
QFETCH(QFontComboBox::FontFilters, fontFilters);
SubQFontComboBox box;
- QSignalSpy spy0(&box, SIGNAL(currentFontChanged(QFont const&)));
+ QSignalSpy spy0(&box, SIGNAL(currentFontChanged(QFont)));
QFont currentFont = box.currentFont();
box.setFontFilters(fontFilters);
@@ -265,7 +265,7 @@ void tst_QFontComboBox::writingSystem()
QFETCH(QFontDatabase::WritingSystem, writingSystem);
SubQFontComboBox box;
- QSignalSpy spy0(&box, SIGNAL(currentFontChanged(QFont const&)));
+ QSignalSpy spy0(&box, SIGNAL(currentFontChanged(QFont)));
QFont currentFont = box.currentFont();
box.setWritingSystem(writingSystem);
@@ -285,7 +285,7 @@ void tst_QFontComboBox::writingSystem()
void tst_QFontComboBox::currentFontChanged()
{
SubQFontComboBox box;
- QSignalSpy spy0(&box, SIGNAL(currentFontChanged(QFont const&)));
+ QSignalSpy spy0(&box, SIGNAL(currentFontChanged(QFont)));
if (box.model()->rowCount() > 2) {
QTest::keyPress(&box, Qt::Key_Down);