src/lddocument.cpp

changeset 1278
6e1ea24e5a5e
parent 1273
900f1dfae46b
child 1279
0f6a4a7cafec
equal deleted inserted replaced
1277:821c30615069 1278:6e1ea24e5a5e
284 SIGNAL(aboutToRemoveObject(QModelIndex)), 284 SIGNAL(aboutToRemoveObject(QModelIndex)),
285 this, 285 this,
286 SLOT(handleImminentObjectRemoval(QModelIndex)), 286 SLOT(handleImminentObjectRemoval(QModelIndex)),
287 Qt::DirectConnection 287 Qt::DirectConnection
288 ); 288 );
289
290 #ifdef DEBUG
291 if (not isFrozen())
292 print("Inserted object #%1 (%2) at %3\n", object->id(), object->typeName(), index.row());
293 #endif
294 } 289 }
295 290
296 void LDDocument::objectChanged(const LDObjectState& before, const LDObjectState& after) 291 void LDDocument::objectChanged(const LDObjectState& before, const LDObjectState& after)
297 { 292 {
298 LDObject* object = qobject_cast<LDObject*>(sender()); 293 LDObject* object = qobject_cast<LDObject*>(sender());

mercurial