diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-07-11 08:48:55 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-07-12 19:05:05 +0200 |
commit | 7db33bef41f24c86e844c3982daaa0747cf28b0c (patch) | |
tree | fcab5005dd4bbac2ab9bf829c3b64f6d577f8c70 /tests/auto/qml/qqmlxmllistmodel | |
parent | 87e3099812b4dd8c19ed022d8983d468b330471f (diff) |
Normalize signal/slot signatures
This is the result of running util/normalize on the code base. The
following manual edits were needed:
- skipped the hits in IS_SIGNAL_CONNECTED, which is using function
pointers under the hood
- restored the space before * in Q_SIGNAL void foo(QType *arg)
Pick-to: 6.6
Change-Id: I299b3747c1aa2f6b3bc5ae1794edeb6fadfd75c6
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlxmllistmodel')
-rw-r--r-- | tests/auto/qml/qqmlxmllistmodel/tst_qqmlxmllistmodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qqmlxmllistmodel/tst_qqmlxmllistmodel.cpp b/tests/auto/qml/qqmlxmllistmodel/tst_qqmlxmllistmodel.cpp index 0745853e02..49ad83142d 100644 --- a/tests/auto/qml/qqmlxmllistmodel/tst_qqmlxmllistmodel.cpp +++ b/tests/auto/qml/qqmlxmllistmodel/tst_qqmlxmllistmodel.cpp @@ -435,8 +435,8 @@ void tst_QQmlXmlListModel::reload() QVERIFY(model != nullptr); QTRY_COMPARE(model->rowCount(), 9); - QSignalSpy spyInsert(model.get(), SIGNAL(rowsInserted(QModelIndex, int, int))); - QSignalSpy spyRemove(model.get(), SIGNAL(rowsRemoved(QModelIndex, int, int))); + QSignalSpy spyInsert(model.get(), SIGNAL(rowsInserted(QModelIndex,int,int))); + QSignalSpy spyRemove(model.get(), SIGNAL(rowsRemoved(QModelIndex,int,int))); QSignalSpy spyCount(model.get(), SIGNAL(countChanged())); // reload multiple times to test the xml query aborting QMetaObject::invokeMethod(model.get(), "reload"); |