Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_native_gesture_shortcut.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Bernhard Liebl <poke1024@gmx.de>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 *
6 */
7
8#ifndef KISNATIVEGESTURESHORTCUT_H
9#define KISNATIVEGESTURESHORTCUT_H
10
12
13class QNativeGestureEvent;
15{
16public:
17 KisNativeGestureShortcut(KisAbstractInputAction* action, int index, Qt::NativeGestureType type);
19
20 int priority() const override;
21
22 bool match(QNativeGestureEvent* event);
23
24private:
25 class Private;
26 Private * const d {nullptr};
27};
28
29#endif // KISNATIVEGESTURESHORTCUT_H
Abstract base class for input actions.
KisAbstractInputAction * action
bool match(QNativeGestureEvent *event)
KisNativeGestureShortcut(KisAbstractInputAction *action, int index, Qt::NativeGestureType type)