32
QObject::connect(this, SIGNAL(rowsInserted(const QModelIndex &, int, int)), this, SIGNAL(countChanged()));
33
QObject::connect(this, SIGNAL(rowsRemoved(const QModelIndex &, int, int)), this, SIGNAL(countChanged()));
34
QObject::connect(this, SIGNAL(modelReset()), this, SIGNAL(countChanged()));
36
32
timer.setSingleShot(true);
38
34
QObject::connect(&timer, SIGNAL(timeout()), this, SLOT(updateScopes()));