ProjectExplorer: Remove redundant namespace qualifications

Change-Id: Id9034e31f3f61c38894111951534dd0d59b746dc
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Orgad Shaneh
2014-10-13 22:37:28 +03:00
committed by hjk
parent c86ef46f6f
commit c884f3e0ef
70 changed files with 334 additions and 326 deletions

View File

@@ -36,9 +36,10 @@
#include <QAction>
#include <QFileInfo>
using namespace ProjectExplorer::Internal;
namespace ProjectExplorer {
namespace Internal {
bool ShowInEditorTaskHandler::canHandle(const ProjectExplorer::Task &task) const
bool ShowInEditorTaskHandler::canHandle(const Task &task) const
{
if (task.file.isEmpty())
return false;
@@ -46,7 +47,7 @@ bool ShowInEditorTaskHandler::canHandle(const ProjectExplorer::Task &task) const
return fi.exists() && fi.isFile() && fi.isReadable();
}
void ShowInEditorTaskHandler::handle(const ProjectExplorer::Task &task)
void ShowInEditorTaskHandler::handle(const Task &task)
{
QFileInfo fi(task.file.toFileInfo());
Core::EditorManager::openEditorAt(fi.filePath(), task.movedLine);
@@ -60,3 +61,6 @@ QAction *ShowInEditorTaskHandler::createAction(QObject *parent) const
showAction->setShortcutContext(Qt::WidgetWithChildrenShortcut);
return showAction;
}
} // namespace Internal
} // namespace ProjectExplorer