[Webkit-unassigned] [Bug 49545] [Qt] [WK2] The focus switching does not seems to work with QGraphicsWKView
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 17 09:36:48 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=49545
--- Comment #6 from Benjamin Poulain <benjamin.poulain at nokia.com> 2010-11-17 09:36:48 PST ---
(In reply to comment #5)
> > The FriendlyWidget of QGraphicsWKView::focusNextPrevChildCallback() is one hell of a ugly hack. Any idea to do that better is welcome.
>
> What is the purpose of that? We are assuming the concrete type of the QWidget,
> right? Why not qobject_cast? Or am I misinterpreting it?
It is to change the visibility of a method. This method is usually available through QWidget, but here we are in a QGraphicsWidget, so we can't access it directly.
This cast is a way to make a protected method public.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list