itaskhandler: interface cleanup

Change-Id: Ib85950a4715d6eaf4225bd8dbcc0c2a91b20dc1d
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
hjk
2012-05-04 20:10:01 +02:00
committed by hjk
parent 06dc126d7c
commit 64ade99b0c
14 changed files with 34 additions and 70 deletions

View File

@@ -43,10 +43,6 @@
using namespace ProjectExplorer::Internal;
CopyTaskHandler::CopyTaskHandler() :
ITaskHandler(QLatin1String(Core::Constants::COPY))
{ }
void CopyTaskHandler::handle(const ProjectExplorer::Task &task)
{
QString type;
@@ -68,7 +64,7 @@ void CopyTaskHandler::handle(const ProjectExplorer::Task &task)
+ type + task.description);
}
QAction *CopyTaskHandler::createAction(QObject *parent)
QAction *CopyTaskHandler::createAction(QObject *parent) const
{
QAction *copyAction = new QAction(tr("&Copy", "Name of the action triggering the copytaskhandler"), parent);
copyAction->setToolTip(tr("Copy task to clipboard"));