summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/itemmodels/qstringlistmodel/tst_qstringlistmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/itemmodels/qstringlistmodel/tst_qstringlistmodel.cpp')
-rw-r--r--tests/auto/corelib/itemmodels/qstringlistmodel/tst_qstringlistmodel.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/auto/corelib/itemmodels/qstringlistmodel/tst_qstringlistmodel.cpp b/tests/auto/corelib/itemmodels/qstringlistmodel/tst_qstringlistmodel.cpp
index a99941aa7f..0e0e869f69 100644
--- a/tests/auto/corelib/itemmodels/qstringlistmodel/tst_qstringlistmodel.cpp
+++ b/tests/auto/corelib/itemmodels/qstringlistmodel/tst_qstringlistmodel.cpp
@@ -144,11 +144,11 @@ void tst_QStringListModel::rowsAboutToBeRemoved_rowsRemoved()
QStringListModel *model = new QStringListModel(input);
QModelListener *pListener = new QModelListener(&aboutto, &res, model);
- pListener->connect(model, SIGNAL( rowsAboutToBeRemoved(const QModelIndex & , int , int )),
- pListener, SLOT( rowsAboutToBeRemovedOrInserted(const QModelIndex & , int , int )) );
+ pListener->connect(model, SIGNAL(rowsAboutToBeRemoved(QModelIndex,int,int)),
+ pListener, SLOT(rowsAboutToBeRemovedOrInserted(QModelIndex,int,int)) );
- pListener->connect(model, SIGNAL( rowsRemoved(const QModelIndex & , int , int )),
- pListener, SLOT( rowsRemovedOrInserted(const QModelIndex & , int , int )) );
+ pListener->connect(model, SIGNAL(rowsRemoved(QModelIndex,int,int)),
+ pListener, SLOT(rowsRemovedOrInserted(QModelIndex,int,int)) );
model->removeRows(row,count);
// At this point, control goes to our connected slots inn this order:
@@ -208,11 +208,11 @@ void tst_QStringListModel::rowsAboutToBeInserted_rowsInserted()
QStringListModel *model = new QStringListModel(input);
QModelListener *pListener = new QModelListener(&aboutto, &res, model);
- connect(model, SIGNAL( rowsAboutToBeInserted(const QModelIndex & , int , int )),
- pListener, SLOT( rowsAboutToBeRemovedOrInserted(const QModelIndex & , int , int )) );
+ connect(model, SIGNAL(rowsAboutToBeInserted(QModelIndex,int,int)),
+ pListener, SLOT(rowsAboutToBeRemovedOrInserted(QModelIndex,int,int)) );
- connect(model, SIGNAL( rowsInserted(const QModelIndex & , int , int )),
- pListener, SLOT( rowsRemovedOrInserted(const QModelIndex & , int , int )) );
+ connect(model, SIGNAL(rowsInserted(QModelIndex,int,int)),
+ pListener, SLOT(rowsRemovedOrInserted(QModelIndex,int,int)) );
model->insertRows(row,count);
// At this point, control goes to our connected slots inn this order: