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:
21
22public:
25
26 int priority() const override;
27
28 bool match(QNativeGestureEvent* event);
29
30private:
31 class Private;
32 Private * const d {nullptr};
33};
34
35#endif // KISNATIVEGESTURESHORTCUT_H
Abstract base class for input actions.
KisAbstractInputAction * action
bool match(QNativeGestureEvent *event)
KisNativeGestureShortcut(KisAbstractInputAction *action, int index, Type type)