tests: remove PlatformInputContext::filterEvent()
This overridden function is not used and also can't be triggered by a synthetic input event in an auto test. Change-Id: Id8b69b440a90c18cf5870e34804fae3e6607e49f Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
9d705d90d0
commit
5686824229
@ -17,7 +17,6 @@ public:
|
|||||||
m_lastQueries(Qt::ImhNone),
|
m_lastQueries(Qt::ImhNone),
|
||||||
m_action(QInputMethod::Click),
|
m_action(QInputMethod::Click),
|
||||||
m_cursorPosition(0),
|
m_cursorPosition(0),
|
||||||
m_lastEventType(QEvent::None),
|
|
||||||
m_setFocusObjectCallCount(0)
|
m_setFocusObjectCallCount(0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -51,10 +50,6 @@ public:
|
|||||||
m_action = action;
|
m_action = action;
|
||||||
m_cursorPosition = cursorPosition;
|
m_cursorPosition = cursorPosition;
|
||||||
}
|
}
|
||||||
virtual bool filterEvent(const QEvent *event) override
|
|
||||||
{
|
|
||||||
m_lastEventType = event->type(); return false;
|
|
||||||
}
|
|
||||||
virtual void showInputPanel() override
|
virtual void showInputPanel() override
|
||||||
{
|
{
|
||||||
m_visible = true;
|
m_visible = true;
|
||||||
@ -94,7 +89,6 @@ public:
|
|||||||
Qt::InputMethodQueries m_lastQueries;
|
Qt::InputMethodQueries m_lastQueries;
|
||||||
QInputMethod::Action m_action;
|
QInputMethod::Action m_action;
|
||||||
int m_cursorPosition;
|
int m_cursorPosition;
|
||||||
int m_lastEventType;
|
|
||||||
QRectF m_keyboardRect;
|
QRectF m_keyboardRect;
|
||||||
int m_setFocusObjectCallCount;
|
int m_setFocusObjectCallCount;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user