Changeset View
Changeset View
Standalone View
Standalone View
effects.cpp
Show First 20 Lines • Show All 717 Lines • ▼ Show 20 Line(s) | 717 | { | |||
---|---|---|---|---|---|
718 | input()->registerPointerShortcut(modifiers, pointerButtons, action); | 718 | input()->registerPointerShortcut(modifiers, pointerButtons, action); | ||
719 | } | 719 | } | ||
720 | 720 | | |||
721 | void EffectsHandlerImpl::registerAxisShortcut(Qt::KeyboardModifiers modifiers, PointerAxisDirection axis, QAction *action) | 721 | void EffectsHandlerImpl::registerAxisShortcut(Qt::KeyboardModifiers modifiers, PointerAxisDirection axis, QAction *action) | ||
722 | { | 722 | { | ||
723 | input()->registerAxisShortcut(modifiers, axis, action); | 723 | input()->registerAxisShortcut(modifiers, axis, action); | ||
724 | } | 724 | } | ||
725 | 725 | | |||
726 | void EffectsHandlerImpl::registerTouchpadSwipeShortcut(SwipeDirection direction, QAction *action) | ||||
727 | { | ||||
728 | input()->registerTouchpadSwipeShortcut(direction, action); | ||||
729 | } | ||||
730 | | ||||
726 | void* EffectsHandlerImpl::getProxy(QString name) | 731 | void* EffectsHandlerImpl::getProxy(QString name) | ||
727 | { | 732 | { | ||
728 | for (QVector< EffectPair >::const_iterator it = loaded_effects.constBegin(); it != loaded_effects.constEnd(); ++it) | 733 | for (QVector< EffectPair >::const_iterator it = loaded_effects.constBegin(); it != loaded_effects.constEnd(); ++it) | ||
729 | if ((*it).first == name) | 734 | if ((*it).first == name) | ||
730 | return (*it).second->proxy(); | 735 | return (*it).second->proxy(); | ||
731 | 736 | | |||
732 | return NULL; | 737 | return NULL; | ||
733 | } | 738 | } | ||
▲ Show 20 Lines • Show All 1339 Lines • Show Last 20 Lines |