2008-07-24 Tor Arne Vestbø <tavestbo@trolltech.com>
[WebKit-https.git] / WebCore / platform / PlatformKeyboardEvent.h
index 2b95dddc6d0bfdbdfdd03a543f5a064a02c0415f..7ba9690adf01932286045e3c343e1d15348c7403 100644 (file)
@@ -139,6 +139,7 @@ namespace WebCore {
 
 #if PLATFORM(QT)
         PlatformKeyboardEvent(QKeyEvent*);
+        QKeyEvent* qtEvent() const { return m_qtEvent; }
 #endif
 
 #if PLATFORM(WX)
@@ -166,6 +167,9 @@ namespace WebCore {
 #endif
 #if PLATFORM(GTK)
         GdkEventKey* m_gdkEventKey;
+#endif
+#if PLATFORM(QT)
+        QKeyEvent* m_qtEvent;
 #endif
     };