Normalize signal/slot signatures 2025

This is the result of running util/normalize on the code base. The
following manual edits were needed:

(none)

Pick-to: 6.10 6.9
Change-Id: I222460afe00375733f2e5064d0dcbe51d58cdf7f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Marc Mutz 2025-06-03 15:01:39 +02:00
parent 0178025c81
commit 51f647eb34
3 changed files with 5 additions and 5 deletions

View File

@ -175,7 +175,7 @@ void tst_QQuickContextMenu::tapHandler()
const auto *tapHandler = window->findChild<QObject *>("tapHandler");
QVERIFY(tapHandler);
const QSignalSpy tappedSpy(tapHandler, SIGNAL(tapped(QEventPoint, Qt::MouseButton)));
const QSignalSpy tappedSpy(tapHandler, SIGNAL(tapped(QEventPoint,Qt::MouseButton)));
QVERIFY(tappedSpy.isValid());
const QPoint &windowCenter = mapCenterToWindow(window->contentItem());
@ -307,7 +307,7 @@ void tst_QQuickContextMenu::menuItemShouldntTriggerOnRelease() // QTBUG-133302
auto *tomatoItem = window->findChild<QQuickItem *>("tomato");
QVERIFY(tomatoItem);
QSignalSpy triggeredSpy(window, SIGNAL(triggered(QObject *)));
QSignalSpy triggeredSpy(window, SIGNAL(triggered(QObject*)));
QVERIFY(triggeredSpy.isValid());
const QPoint &tomatoCenter = mapCenterToWindow(tomatoItem);

View File

@ -494,7 +494,7 @@ void tst_QQuickHeaderView::dragInvalidItemDuringReorder()
const auto item = hhv->itemAtIndex(hhv->index(0, 0));
QQuickWindow *itemWindow = item->window();
QSignalSpy columnMovedSpy(hhv, SIGNAL(columnMoved(int, int, int)));
QSignalSpy columnMovedSpy(hhv, SIGNAL(columnMoved(int,int,int)));
QVERIFY(columnMovedSpy.isValid());
const QPoint localPos = QPoint(item->width() - 5, item->height() - 5);
@ -561,7 +561,7 @@ void tst_QQuickHeaderView::reorderEmptyModel()
auto hhv = window->findChild<QQuickHorizontalHeaderView *>("horizontalHeader");
QVERIFY(hhv);
QSignalSpy columnMovedSpy(hhv, SIGNAL(columnMoved(int, int, int)));
QSignalSpy columnMovedSpy(hhv, SIGNAL(columnMoved(int,int,int)));
QVERIFY(columnMovedSpy.isValid());
hhv->moveColumn(0, 1);
QVERIFY(!columnMovedSpy.isEmpty());

View File

@ -247,7 +247,7 @@ void tst_QQuickOverlay::pressedAndReleased()
auto *tapHandler = window->findChild<QQuickTapHandler *>();
QVERIFY(tapHandler);
const QSignalSpy tappedSpy(tapHandler, SIGNAL(tapped(QEventPoint, Qt::MouseButton)));
const QSignalSpy tappedSpy(tapHandler, SIGNAL(tapped(QEventPoint,Qt::MouseButton)));
QVERIFY(tappedSpy.isValid());
// Left click should cause pressed to be emitted.