diff options
author | Felix Geyer <debfx@fobos.de> | 2015-07-24 18:32:32 +0300 |
---|---|---|
committer | Felix Geyer <debfx@fobos.de> | 2015-09-12 14:51:49 +0300 |
commit | ae2b27d400816d2d149656b3b13623ffb315e2ec (patch) | |
tree | ca6f42e8e772f72b8b6f1bc8f01a1d5089367062 /tests/modeltest.cpp | |
parent | 7c424e1b850c99f530ebaec29a3726befdb20cc7 (diff) |
Connect rowsAboutToBeMoved() and rowsMoved() again.
Accidentally removed in 4fcce6f98f3d481514825ebdffc024c36bd5389c
Diffstat (limited to 'tests/modeltest.cpp')
-rw-r--r-- | tests/modeltest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/modeltest.cpp b/tests/modeltest.cpp index a730e8902..360a7bef1 100644 --- a/tests/modeltest.cpp +++ b/tests/modeltest.cpp @@ -82,6 +82,10 @@ ModelTest::ModelTest ( QAbstractItemModel *_model, QObject *parent ) : QObject ( this, SLOT(rowsInserted(QModelIndex,int,int)) ); connect(model, SIGNAL(rowsRemoved(QModelIndex,int,int)), this, SLOT(rowsRemoved(QModelIndex,int,int)) ); + connect(model, SIGNAL (rowsAboutToBeMoved(QModelIndex,int,int,QModelIndex,int)), + this, SLOT (rowsAboutToBeMoved(QModelIndex,int,int,QModelIndex,int)) ); + connect(model, SIGNAL (rowsMoved(QModelIndex,int,int,QModelIndex,int)), + this, SLOT (rowsMoved(QModelIndex,int,int,QModelIndex,int)) ); connect(model, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SLOT(dataChanged(QModelIndex,QModelIndex)) ); connect(model, SIGNAL(headerDataChanged(Qt::Orientation,int,int)), |