diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-10-13 22:37:28 +0300 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-10-14 16:22:02 +0200 |
commit | c884f3e0ef9f016f19f602c2c3ba8f4574739908 (patch) | |
tree | 14dd66a500f257a8ee1cd5a7e6132fe345e9dfdd /src/plugins/projectexplorer/showoutputtaskhandler.cpp | |
parent | c86ef46f6facc859fab21943afdc0e8c5d63e42e (diff) |
ProjectExplorer: Remove redundant namespace qualifications
Change-Id: Id9034e31f3f61c38894111951534dd0d59b746dc
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/projectexplorer/showoutputtaskhandler.cpp')
-rw-r--r-- | src/plugins/projectexplorer/showoutputtaskhandler.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/showoutputtaskhandler.cpp b/src/plugins/projectexplorer/showoutputtaskhandler.cpp index 38ba0982f8..ab73c4d1a7 100644 --- a/src/plugins/projectexplorer/showoutputtaskhandler.cpp +++ b/src/plugins/projectexplorer/showoutputtaskhandler.cpp @@ -35,7 +35,8 @@ #include <QAction> -using namespace ProjectExplorer::Internal; +namespace ProjectExplorer { +namespace Internal { ShowOutputTaskHandler::ShowOutputTaskHandler(CompileOutputWindow *window) : m_window(window) @@ -43,12 +44,12 @@ ShowOutputTaskHandler::ShowOutputTaskHandler(CompileOutputWindow *window) : Q_ASSERT(m_window); } -bool ShowOutputTaskHandler::canHandle(const ProjectExplorer::Task &task) const +bool ShowOutputTaskHandler::canHandle(const Task &task) const { return m_window->knowsPositionOf(task); } -void ShowOutputTaskHandler::handle(const ProjectExplorer::Task &task) +void ShowOutputTaskHandler::handle(const Task &task) { Q_ASSERT(canHandle(task)); // popup first as this does move the visible area! @@ -64,3 +65,6 @@ QAction *ShowOutputTaskHandler::createAction(QObject *parent) const outputAction->setShortcutContext(Qt::WidgetWithChildrenShortcut); return outputAction; } + +} // namespace Internal +} // namespace ProjectExplorer |