Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem...
authorhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Nov 2007 14:29:19 +0000 (14:29 +0000)
committerhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Nov 2007 14:29:19 +0000 (14:29 +0000)
commitf62e16862861a9f120c9dda794b1a3241b926fbb
treeab29ae61b88073e66427d76252546fef490be0f3
parent459e12ca8fb0a7a5b6e5ec206c8ffeea238ce879
Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
in ContextMenu::populate().
For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
out of it. That menu is currently not functional anymore though.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/ContextMenu.h
WebCore/platform/ContextMenuItem.h
WebCore/platform/PlatformMenuDescription.h
WebCore/platform/qt/ContextMenuItemQt.cpp
WebCore/platform/qt/ContextMenuQt.cpp
WebKit/qt/Api/qwebpage.cpp
WebKit/qt/Api/qwebpage_p.h
WebKit/qt/ChangeLog