File redotool.h#
File List > redo > redotool.h
Go to the documentation of this file.
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
#pragma once
#include "src/tools/abstractactiontool.h"
class RedoTool : public AbstractActionTool
{
Q_OBJECT
public:
explicit RedoTool(QObject* parent = nullptr);
bool closeOnButtonPressed() const override;
QIcon icon(const QColor& background, bool inEditor) const override;
QString name() const override;
QString description() const override;
CaptureTool* copy(QObject* parent = nullptr) override;
protected:
CaptureTool::Type type() const override;
public slots:
void pressed(CaptureContext& context) override;
};