| 133 | } |
| 134 | |
| 135 | int StandardOutputView::registerOutputInToolView(const QString& toolViewId, const QString& title, |
| 136 | KDevelop::IOutputView::Behaviours behaviour) |
| 137 | { |
| 138 | const auto toolViewIt = m_toolViews.constFind(toolViewId); |
| 139 | if (toolViewIt == m_toolViews.constEnd()) |
| 140 | return -1; |
| 141 | const auto newid = ++m_lastId; |
| 142 | (*toolViewIt)->addOutput(newid, title, behaviour); |
| 143 | return newid; |
| 144 | } |
| 145 | |
| 146 | void StandardOutputView::raiseOutput(int outputId) |
| 147 | { |