Commit ca783c1a authored by Tomaz  Canabrava's avatar Tomaz Canabrava Committed by Tomaz Canabrava
Browse files

Fix Build

parent 58e49ab5
...@@ -99,7 +99,7 @@ QList<QSharedPointer<Filter::HotSpot>> FilterChain::hotSpots() const ...@@ -99,7 +99,7 @@ QList<QSharedPointer<Filter::HotSpot>> FilterChain::hotSpots() const
QList<QSharedPointer<Filter::HotSpot>> list; QList<QSharedPointer<Filter::HotSpot>> list;
for (auto *filter : _filters) { for (auto *filter : _filters) {
list.append(filter->hotSpots()); list.append(filter->hotSpots());
> } }
return list; return list;
} }
...@@ -246,7 +246,7 @@ Filter::HotSpot::HotSpot(int startLine, int startColumn, int endLine, int endCol ...@@ -246,7 +246,7 @@ Filter::HotSpot::HotSpot(int startLine, int startColumn, int endLine, int endCol
{ {
} }
QList<QAction *> Filter::HotSpot::actions() const QList<QAction *> Filter::HotSpot::actions()
{ {
return {}; return {};
} }
...@@ -426,7 +426,7 @@ UrlFilter::HotSpot::~HotSpot() ...@@ -426,7 +426,7 @@ UrlFilter::HotSpot::~HotSpot()
{ {
} }
QList<QAction *> UrlFilter::HotSpot::actions() const QList<QAction *> UrlFilter::HotSpot::actions()
{ {
auto openAction = new QAction(this); auto openAction = new QAction(this);
auto copyAction = new QAction(this); auto copyAction = new QAction(this);
...@@ -581,7 +581,7 @@ FileFilter::HotSpot::~HotSpot() ...@@ -581,7 +581,7 @@ FileFilter::HotSpot::~HotSpot()
{ {
} }
QList<QAction *> FileFilter::HotSpot::actions() const QList<QAction *> FileFilter::HotSpot::actions()
{ {
auto openAction = new QAction(this); auto openAction = new QAction(this);
openAction->setText(i18n("Open File")); openAction->setText(i18n("Open File"));
......
...@@ -124,7 +124,7 @@ public: ...@@ -124,7 +124,7 @@ public:
* Returns a list of actions associated with the hotspot which can be used in a * Returns a list of actions associated with the hotspot which can be used in a
* menu or toolbar * menu or toolbar
*/ */
virtual QList<QAction *> actions() const; virtual QList<QAction *> actions();
protected: protected:
/** Sets the type of a hotspot. This should only be set once */ /** Sets the type of a hotspot. This should only be set once */
...@@ -257,7 +257,7 @@ public: ...@@ -257,7 +257,7 @@ public:
const QStringList &capturedTexts); const QStringList &capturedTexts);
~HotSpot() override; ~HotSpot() override;
QList<QAction *> actions() const override; QList<QAction *> actions() override;
/** /**
* Open a web browser at the current URL. The url itself can be determined using * Open a web browser at the current URL. The url itself can be determined using
...@@ -304,7 +304,7 @@ public: ...@@ -304,7 +304,7 @@ public:
const QStringList &capturedTexts, const QString &filePath); const QStringList &capturedTexts, const QString &filePath);
~HotSpot() override; ~HotSpot() override;
QList<QAction *> actions() const override; QList<QAction *> actions() override;
/** /**
* Opens kate for editing the file. * Opens kate for editing the file.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment