diff -r 6fbed849b4f4 -r 1f895d8a5b2b qtmobileextensions/src/keycapture/xqkeycapture.h --- a/qtmobileextensions/src/keycapture/xqkeycapture.h Wed Jun 23 19:08:38 2010 +0300 +++ b/qtmobileextensions/src/keycapture/xqkeycapture.h Tue Jul 06 15:12:50 2010 +0300 @@ -27,6 +27,7 @@ #include #include #include +#include #include @@ -55,8 +56,10 @@ enum CapturingFlag { CaptureNone = 0x0, CaptureBasic = 0x1, - CaptureCallHandlingExt = 0x2 + CaptureCallHandlingExt = 0x2, + CaptureEnableRemoteExtEvents = 0x4 }; + Q_DECLARE_FLAGS(CapturingFlags, CapturingFlag) public: @@ -171,6 +174,10 @@ bool captureRemoteKeys(CapturingFlags flags = CaptureNone); bool cancelCaptureRemoteKeys(CapturingFlags flags = CaptureNone); + + static QEvent::Type remoteEventType_KeyPress(); + + static QEvent::Type remoteEventType_KeyRelease(); QString errorString() const;