Changeset View
Changeset View
Standalone View
Standalone View
input.cpp
Show First 20 Lines • Show All 1857 Lines • ▼ Show 20 Line(s) | 1857 | { | |||
---|---|---|---|---|---|
1858 | return m_windowSelector ? m_windowSelector->isActive() : false; | 1858 | return m_windowSelector ? m_windowSelector->isActive() : false; | ||
1859 | } | 1859 | } | ||
1860 | 1860 | | |||
1861 | bool InputRedirection::isBreakingPointerConstraints() const | 1861 | bool InputRedirection::isBreakingPointerConstraints() const | ||
1862 | { | 1862 | { | ||
1863 | return m_pointerConstraintsFilter ? m_pointerConstraintsFilter->isActive() : false; | 1863 | return m_pointerConstraintsFilter ? m_pointerConstraintsFilter->isActive() : false; | ||
1864 | } | 1864 | } | ||
1865 | 1865 | | |||
1866 | void InputRedirection::processFilters(std::function<bool(InputEventFilter*)> function) | ||||
1867 | { | ||||
1868 | std::any_of(m_filters.constBegin(), m_filters.constEnd(), function); | ||||
1869 | } | ||||
1870 | | ||||
1866 | InputDeviceHandler::InputDeviceHandler(InputRedirection *input) | 1871 | InputDeviceHandler::InputDeviceHandler(InputRedirection *input) | ||
1867 | : QObject(input) | 1872 | : QObject(input) | ||
1868 | , m_input(input) | 1873 | , m_input(input) | ||
1869 | { | 1874 | { | ||
1870 | } | 1875 | } | ||
1871 | 1876 | | |||
1872 | InputDeviceHandler::~InputDeviceHandler() = default; | 1877 | InputDeviceHandler::~InputDeviceHandler() = default; | ||
1873 | 1878 | | |||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |