diff options
author | Sergio Ahumada <sahumada@blackberry.com> | 2014-03-02 11:32:29 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-03 10:08:49 +0100 |
commit | d286f5bf75dd67dde71f6c0366b208d564301251 (patch) | |
tree | 968c867a168efb7a9121da81fd51ecb527efde8b /tests/auto/qml/qquickfolderlistmodel | |
parent | 5ca26a1c6166af2750fdf3c1333f1d7b389e8b85 (diff) |
Prefer to use normalised signal/slot signatures
Change-Id: I9856c110399c4b6b1ea6aba2d92392cecff04656
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/qml/qquickfolderlistmodel')
-rw-r--r-- | tests/auto/qml/qquickfolderlistmodel/tst_qquickfolderlistmodel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qml/qquickfolderlistmodel/tst_qquickfolderlistmodel.cpp b/tests/auto/qml/qquickfolderlistmodel/tst_qquickfolderlistmodel.cpp index 73e8a283c7..e03befe25a 100644 --- a/tests/auto/qml/qquickfolderlistmodel/tst_qquickfolderlistmodel.cpp +++ b/tests/auto/qml/qquickfolderlistmodel/tst_qquickfolderlistmodel.cpp @@ -169,8 +169,8 @@ void tst_qquickfolderlistmodel::resetFiltering() QAbstractListModel *flm = qobject_cast<QAbstractListModel*>(component.create()); QVERIFY(flm != 0); - connect(flm, SIGNAL(rowsRemoved(const QModelIndex&,int,int)), - this, SLOT(removed(const QModelIndex&,int,int))); + connect(flm, SIGNAL(rowsRemoved(QModelIndex,int,int)), + this, SLOT(removed(QModelIndex,int,int))); flm->setProperty("folder", testFileUrl("resetfiltering")); QTRY_COMPARE(flm->property("count").toInt(),1); // should just be "test.txt" visible @@ -204,8 +204,8 @@ void tst_qquickfolderlistmodel::refresh() int count = flm->rowCount(); - connect(flm, SIGNAL(rowsRemoved(const QModelIndex&,int,int)), - this, SLOT(removed(const QModelIndex&,int,int))); + connect(flm, SIGNAL(rowsRemoved(QModelIndex,int,int)), + this, SLOT(removed(QModelIndex,int,int))); flm->setProperty("sortReversed", true); |