Changeset View
Changeset View
Standalone View
Standalone View
libkwineffects/kwineffects.h
Show First 20 Lines • Show All 870 Lines • ▼ Show 20 Line(s) | 810 | public: | |||
---|---|---|---|---|---|
871 | * | 871 | * | ||
872 | * @param modifiers The keyboard modifiers which need to be holded | 872 | * @param modifiers The keyboard modifiers which need to be holded | ||
873 | * @param axis The direction in which the axis needs to be moved | 873 | * @param axis The direction in which the axis needs to be moved | ||
874 | * @param action The action which gets triggered when the shortcut matches | 874 | * @param action The action which gets triggered when the shortcut matches | ||
875 | **/ | 875 | **/ | ||
876 | virtual void registerAxisShortcut(Qt::KeyboardModifiers modifiers, PointerAxisDirection axis, QAction *action) = 0; | 876 | virtual void registerAxisShortcut(Qt::KeyboardModifiers modifiers, PointerAxisDirection axis, QAction *action) = 0; | ||
877 | 877 | | |||
878 | /** | 878 | /** | ||
879 | * @brief Registers a global touchpad swipe gesture shortcut with the provided @p action. | ||||
880 | * | ||||
881 | * @param direction The direction for the swipe | ||||
882 | * @param action The action which gets triggered when the gesture triggers | ||||
883 | * @since 5.10 | ||||
884 | **/ | ||||
885 | virtual void registerTouchpadSwipeShortcut(SwipeDirection direction, QAction *action) = 0; | ||||
886 | | ||||
887 | /** | ||||
879 | * Retrieve the proxy class for an effect if it has one. Will return NULL if | 888 | * Retrieve the proxy class for an effect if it has one. Will return NULL if | ||
880 | * the effect isn't loaded or doesn't have a proxy class. | 889 | * the effect isn't loaded or doesn't have a proxy class. | ||
881 | */ | 890 | */ | ||
882 | virtual void* getProxy(QString name) = 0; | 891 | virtual void* getProxy(QString name) = 0; | ||
883 | 892 | | |||
884 | // Mouse polling | 893 | // Mouse polling | ||
885 | virtual void startMousePolling() = 0; | 894 | virtual void startMousePolling() = 0; | ||
886 | virtual void stopMousePolling() = 0; | 895 | virtual void stopMousePolling() = 0; | ||
▲ Show 20 Lines • Show All 2509 Lines • Show Last 20 Lines |