FindBar: support operating on plain QWebView instances, too
commit62f497094fe6604818c09272f0f0b5ccaa9aba07
authorJan Kundrát <jkt@kde.org>
Wed, 6 Apr 2016 10:14:47 +0000 (6 12:14 +0200)
committerJan Kundrát <jkt@kde.org>
Wed, 6 Apr 2016 10:14:47 +0000 (6 12:14 +0200)
tree6b79eb8b713cfbfdf17dd12e9cb00e6072cd6b17
parent46f2268d278bd2e4c5b165aa517342c1882e5590
FindBar: support operating on plain QWebView instances, too

The FindBar implements not just the generic "find bar" functionality,
but it also has features for driving our EmbeddedWebView in an
appropriate way -- mostly related to the automatic scrolling. This patch
makes sure that the FindBar continues to work even in cases when the
associated widget is a plain QWebView. This was the path of a least
resistance.

Change-Id: I7007e2934eae9dec5274f27bd607e3bba0af0542
src/Gui/FindBar.cpp
src/Gui/FindBar.h
src/Gui/FindBarMixin.cpp
src/Gui/FindBarMixin.h