62
63
void Pointer::initialize()
64
65
// register pointer at endpoints and connect to changes
68
69
connect(d->to.get(), SIGNAL(posChanged(QPointF)), this, SIGNAL(posChanged()));
69
70
connect(d->from.get(), SIGNAL(pointerListChanged()), this, SLOT(updateRelativeIndex()));
70
connect(d->dataStructure.get(), SIGNAL(complexityChanged(bool)), this, SIGNAL(changed()));
71
connect(d->pointerType.get(), SIGNAL(directionChanged(PointerType::Direction)), this, SIGNAL(changed()));
71
72
connect(d->from.get(), SIGNAL(posChanged(QPointF)), this, SIGNAL(posChanged()));
73
74
// register properties and connect to changes