Changeset 48221
- Timestamp:
- 09/09/09 14:11:35 (6 months ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 3 modified
-
Api/qwebgraphicsitem.cpp (modified) (1 diff)
-
Api/qwebgraphicsitem.h (modified) (2 diffs)
-
ChangeLog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/Api/qwebgraphicsitem.cpp
r48219 r48221 161 161 { 162 162 d->page->mainFrame()->render(painter, option->exposedRect.toRect()); 163 } 164 165 /*! \reimp 166 */ 167 bool QWebGraphicsItem::sceneEvent(QEvent* event) 168 { 169 // Swallow reimplementation in order to allows fixing event-related bugs in patch releases 170 return QGraphicsWidget::sceneEvent(event); 171 } 172 173 /*! \reimp 174 */ 175 bool QWebGraphicsItem::event(QEvent* event) 176 { 177 // Swallow reimplementation in order to allows fixing event-related bugs in patch releases 178 return QObject::event(event); 163 179 } 164 180 -
trunk/WebKit/qt/Api/qwebgraphicsitem.h
r48219 r48221 86 86 virtual void updateGeometry(); 87 87 virtual void paint(QPainter*, const QStyleOptionGraphicsItem* options, QWidget* widget = 0); 88 virtual bool event(QEvent*); 88 89 89 90 public Q_SLOTS: … … 130 131 virtual bool focusNextPrevChild(bool next); 131 132 133 virtual bool sceneEvent(QEvent*); 134 132 135 private: 133 136 Q_PRIVATE_SLOT(d, void _q_doScroll(int dx, int dy, const QRect&)) -
trunk/WebKit/qt/ChangeLog
r48219 r48221 1 2009-09-09 Kenneth Rohde Christiansen <kenneth@webkit.org> 2 3 Reviewed by Tor Arne Vestbø. 4 5 Implement some virtual event methods so that we can fix 6 event-related bugs in Qt patch releases. 7 8 * Api/qwebgraphicsitem.cpp: 9 (QWebGraphicsItem::sceneEvent): 10 (QWebGraphicsItem::event): 11 * Api/qwebgraphicsitem.h: 12 1 13 2009-09-09 Kenneth Rohde Christiansen <kenneth@webkit.org>, Antonio Gomes <antonio.gomes@openbossa.org> 2 14