* \brief Add the given Aspect to my list of children without any checks and without putting this step onto the undo-stack */
| 537 | * \brief Add the given Aspect to my list of children without any checks and without putting this step onto the undo-stack |
| 538 | */ |
| 539 | void AbstractAspect::addChildFast(AbstractAspect* child) { |
| 540 | Q_EMIT childAspectAboutToBeAdded(this, nullptr, child); // TODO: before-pointer is 0 here, also in the commands classes. why? |
| 541 | d->insertChild(d->m_children.count(), child); |
| 542 | child->finalizeAdd(); |
| 543 | // PERFTRACE(Q_FUNC_INFO); |
| 544 | Q_EMIT childAspectAdded(child); |
| 545 | // print_callstack(); |
| 546 | } |
| 547 | |
| 548 | /** |
| 549 | * \brief Insert the given Aspect at a specific position in my list of children. |
no test coverage detected