Projectexplorer: Modernize codebase

Change-Id: I4793b58aa77bcd46af99f8b843c0f7439cdc9269
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Reviewed-by: Vikas Pachdha <vikas.pachdha@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2016-04-13 15:52:14 +02:00
parent 79da8a4586
commit 95ac4edfd4
207 changed files with 1047 additions and 1292 deletions

View File

@@ -65,8 +65,7 @@ class CompileOutputTextEdit : public Core::OutputWindow
{
Q_OBJECT
public:
CompileOutputTextEdit(const Core::Context &context)
: Core::OutputWindow(context)
CompileOutputTextEdit(const Core::Context &context) : Core::OutputWindow(context)
{
setWheelZoomEnabled(true);
@@ -182,7 +181,7 @@ CompileOutputWindow::CompileOutputWindow(QAction *cancelBuildAction) :
connect(m_zoomOutButton, &QToolButton::clicked,
this, [this]() { m_outputWindow->zoomOut(1); });
Aggregation::Aggregate *agg = new Aggregation::Aggregate;
auto agg = new Aggregation::Aggregate;
agg->add(m_outputWindow);
agg->add(new Core::BaseTextFind(m_outputWindow));
@@ -284,9 +283,7 @@ void CompileOutputWindow::clearContents()
}
void CompileOutputWindow::visibilityChanged(bool)
{
}
{ }
int CompileOutputWindow::priorityInStatusBar() const
{
@@ -304,14 +301,10 @@ bool CompileOutputWindow::canPrevious() const
}
void CompileOutputWindow::goToNext()
{
}
{ }
void CompileOutputWindow::goToPrev()
{
}
{ }
bool CompileOutputWindow::canNavigate() const
{