| 107 | } |
| 108 | |
| 109 | QVector<IProblem::Ptr> Problem::diagnostics() const |
| 110 | { |
| 111 | QVector<IProblem::Ptr> vector; |
| 112 | |
| 113 | for (const auto& ptr : std::as_const(m_diagnostics)) { |
| 114 | vector.push_back(ptr); |
| 115 | } |
| 116 | |
| 117 | return vector; |
| 118 | } |
| 119 | |
| 120 | void Problem::setDiagnostics(const QVector<IProblem::Ptr>& diagnostics) |
| 121 | { |