forked from qt-creator/qt-creator
Core: Cosmetics
* Remove redundant namespace qualifiers * Qt5-ify some signal/slot connections * Replace some using Core::Internal with explicit namespace scopes Change-Id: Id1aae05e2c6fc2992c2716e1f8f9e985c6e56122 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -36,11 +36,12 @@
|
||||
|
||||
#include <aggregation/aggregate.h>
|
||||
|
||||
using namespace Core::Internal;
|
||||
namespace Core {
|
||||
namespace Internal {
|
||||
|
||||
MessageOutputWindow::MessageOutputWindow()
|
||||
{
|
||||
m_widget = new Core::OutputWindow(Core::Context(Core::Constants::C_GENERAL_OUTPUT_PANE));
|
||||
m_widget = new OutputWindow(Context(Constants::C_GENERAL_OUTPUT_PANE));
|
||||
m_widget->setReadOnly(true);
|
||||
// Let selected text be colored as if the text edit was editable,
|
||||
// otherwise the highlight for searching is too light
|
||||
@@ -52,7 +53,7 @@ MessageOutputWindow::MessageOutputWindow()
|
||||
m_widget->setPalette(p);
|
||||
Aggregation::Aggregate *agg = new Aggregation::Aggregate;
|
||||
agg->add(m_widget);
|
||||
agg->add(new Core::BaseTextFind(m_widget));
|
||||
agg->add(new BaseTextFind(m_widget));
|
||||
}
|
||||
|
||||
MessageOutputWindow::~MessageOutputWindow()
|
||||
@@ -129,3 +130,6 @@ bool MessageOutputWindow::canNavigate() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Core
|
||||
|
||||
Reference in New Issue
Block a user