Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
- WARNING: NO TEST CASES ADDED OR CHANGED
-
* platform/graphics/qt/ImageQt.cpp:
(loadResourcePixmap):
Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
- WARNING: NO TEST CASES ADDED OR CHANGED
-
* platform/graphics/qt/ImageQt.cpp:
(loadResourcePixmap):
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.
- WARNING: NO TEST CASES ADDED OR CHANGED
-
* platform/ContextMenu.h:
* platform/ContextMenuItem.h:
(WebCore::PlatformMenuItemDescription::PlatformMenuItemDescription):
Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
on it.
- WARNING: NO TEST CASES ADDED OR CHANGED
-
* platform/qt/ContextMenuQt.cpp:
2007-11-07 Simon Hausmann <hausmann@kde.org>
Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
- WARNING: NO TEST CASES ADDED OR CHANGED
-
* platform/PlatformMouseEvent.h:
* platform/qt/PlatformMouseEventQt.cpp:
(WebCore::PlatformMouseEvent::PlatformMouseEvent):