Changeset View
Changeset View
Standalone View
Standalone View
input.h
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Line(s) | 73 | public: | |||
---|---|---|---|---|---|
103 | * It's recommended to use this method as it ensures that the X11 timestamp is updated prior | 103 | * It's recommended to use this method as it ensures that the X11 timestamp is updated prior | ||
104 | * to the @p slot being invoked. If not using this overload it's required to ensure that | 104 | * to the @p slot being invoked. If not using this overload it's required to ensure that | ||
105 | * registerShortcut is called before connecting to QAction's triggered signal. | 105 | * registerShortcut is called before connecting to QAction's triggered signal. | ||
106 | **/ | 106 | **/ | ||
107 | template <typename T> | 107 | template <typename T> | ||
108 | void registerShortcut(const QKeySequence &shortcut, QAction *action, T *receiver, void (T::*slot)()); | 108 | void registerShortcut(const QKeySequence &shortcut, QAction *action, T *receiver, void (T::*slot)()); | ||
109 | void registerPointerShortcut(Qt::KeyboardModifiers modifiers, Qt::MouseButton pointerButtons, QAction *action); | 109 | void registerPointerShortcut(Qt::KeyboardModifiers modifiers, Qt::MouseButton pointerButtons, QAction *action); | ||
110 | void registerAxisShortcut(Qt::KeyboardModifiers modifiers, PointerAxisDirection axis, QAction *action); | 110 | void registerAxisShortcut(Qt::KeyboardModifiers modifiers, PointerAxisDirection axis, QAction *action); | ||
111 | void registerTouchpadSwipeShortcut(SwipeDirection direction, QAction *action); | ||||
111 | void registerGlobalAccel(KGlobalAccelInterface *interface); | 112 | void registerGlobalAccel(KGlobalAccelInterface *interface); | ||
112 | 113 | | |||
113 | /** | 114 | /** | ||
114 | * @internal | 115 | * @internal | ||
115 | */ | 116 | */ | ||
116 | void processPointerMotion(const QPointF &pos, uint32_t time); | 117 | void processPointerMotion(const QPointF &pos, uint32_t time); | ||
117 | /** | 118 | /** | ||
118 | * @internal | 119 | * @internal | ||
▲ Show 20 Lines • Show All 303 Lines • Show Last 20 Lines |