File indexing completed on 2024-12-22 04:12:39
0001 /* 0002 * SPDX-FileCopyrightText: 2015 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef __KIS_CHANGE_FRAME_ACTION_H 0008 #define __KIS_CHANGE_FRAME_ACTION_H 0009 0010 #include <QScopedPointer> 0011 0012 #include "kis_abstract_input_action.h" 0013 0014 0015 class KisChangeFrameAction : public KisAbstractInputAction 0016 { 0017 public: 0018 enum Shortcuts { 0019 NextFrameShortcut, 0020 PreviousFrameShortcut 0021 }; 0022 0023 0024 KisChangeFrameAction(); 0025 ~KisChangeFrameAction() override; 0026 0027 void begin(int shortcut, QEvent *event) override; 0028 bool isAvailable() const override; 0029 0030 private: 0031 struct Private; 0032 const QScopedPointer<Private> m_d; 0033 }; 0034 0035 #endif /* __KIS_CHANGE_FRAME_ACTION_H */