! checks whether \c aspect is one of the allowed top level types */
| 372 | checks whether \c aspect is one of the allowed top level types |
| 373 | */ |
| 374 | bool ImportProjectDialog::isTopLevel(const AbstractAspect* aspect) const { |
| 375 | for (auto type : m_projectParser->topLevelClasses()) { |
| 376 | if (aspect->inherits(type)) |
| 377 | return true; |
| 378 | } |
| 379 | return false; |
| 380 | } |
| 381 | |
| 382 | // ############################################################################## |
| 383 | // ################################# SLOTS #################################### |
nothing calls this directly
no test coverage detected