blob: e813afb9028d6c1bc0b75a90609a83c5c5ab4eed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (C) 2016 Orgad Shaneh <orgads@gmail.com>.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <projectexplorer/itaskhandler.h>
QT_BEGIN_NAMESPACE
class QUrl;
QT_END_NAMESPACE
namespace Help {
namespace Internal {
class SearchTaskHandler : public ProjectExplorer::ITaskHandler
{
Q_OBJECT
public:
bool canHandle(const ProjectExplorer::Task &task) const override;
void handle(const ProjectExplorer::Task &task) override;
QAction *createAction(QObject *parent) const override;
signals:
void search(const QUrl &url);
};
} // namespace Internal
} // namespace Help
|