[Webkit-unassigned] [Bug 28865] [Qt] Make cursor set cleaner in QtWebKit Api: eliminate SetCursorEvent hack.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 1 05:37:20 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28865
--- Comment #2 from Kenneth Rohde Christiansen <kenneth.christiansen at openbossa.org> 2009-09-01 05:37:20 PDT ---
first of all:
QCoreApplication::postEvent(widget, new SetCursorEvent(cursor.impl()));
The above call doesn't require a QWidget but merely a QObject (QWidget,
QGraphicsWidget, ... are all QObjects)!
secondly: You do not need to duplicate the SetCursorEvent class when
implementing this inside WebKit, and this definately is the right place to
implement a QGraphicsItem based widget. You will see that my current patch
doesn't duplicate the class.
Maybe changing a few things would make it work for you?
--
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