| 1182 | } |
| 1183 | |
| 1184 | void AbstractAspect::connectChild(AbstractAspect* child) { |
| 1185 | connect(child, &AbstractAspect::aspectDescriptionAboutToChange, this, &AbstractAspect::aspectDescriptionAboutToChange); |
| 1186 | connect(child, &AbstractAspect::aspectDescriptionChanged, this, &AbstractAspect::aspectDescriptionChanged); |
| 1187 | connect(child, |
| 1188 | QOverload<const AbstractAspect*, const AbstractAspect*, const AbstractAspect*>::of(&AbstractAspect::childAspectAboutToBeAdded), |
| 1189 | this, |
| 1190 | QOverload<const AbstractAspect*, const AbstractAspect*, const AbstractAspect*>::of(&AbstractAspect::childAspectAboutToBeAdded)); |
| 1191 | connect(child, &AbstractAspect::childAspectAdded, this, &AbstractAspect::childAspectAdded); |
| 1192 | connect(child, |
| 1193 | QOverload<const AbstractAspect*>::of(&AbstractAspect::childAspectAboutToBeRemoved), |
| 1194 | this, |
| 1195 | QOverload<const AbstractAspect*>::of(&AbstractAspect::childAspectAboutToBeRemoved)); |
| 1196 | connect(child, &AbstractAspect::childAspectRemoved, this, &AbstractAspect::childAspectRemoved); |
| 1197 | connect(child, &AbstractAspect::childAspectAboutToBeMoved, this, &AbstractAspect::childAspectAboutToBeMoved); |
| 1198 | connect(child, &AbstractAspect::childAspectMoved, this, &AbstractAspect::childAspectMoved); |
| 1199 | connect(child, &AbstractAspect::aspectHiddenAboutToChange, this, &AbstractAspect::aspectHiddenAboutToChange); |
| 1200 | connect(child, &AbstractAspect::aspectHiddenChanged, this, &AbstractAspect::aspectHiddenChanged); |
| 1201 | connect(child, &AbstractAspect::statusInfo, this, &AbstractAspect::statusInfo); |
| 1202 | |
| 1203 | connect(child, &AbstractAspect::selected, this, &AbstractAspect::childSelected); |
| 1204 | connect(child, &AbstractAspect::deselected, this, &AbstractAspect::childDeselected); |
| 1205 | } |
| 1206 | |
| 1207 | // ############################################################################## |
| 1208 | // ###################### Private implementation ############################### |