Blackberry: Compile with lastest event filter API changes

Change-Id: I4eb7ddf050cd8ef34df4547482f53f7372584221
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: David Faure <faure@kde.org>
This commit is contained in:
Thomas McGuire
2012-07-23 11:17:42 +02:00
committed by Qt by Nokia
parent ae728a4b1e
commit ace2c75167
2 changed files with 53 additions and 71 deletions

View File

@@ -43,6 +43,7 @@
#include "bbmetadata.h"
#include <qmediaplayercontrol.h>
#include <QtCore/qabstractnativeeventfilter.h>
#include <QtCore/qpointer.h>
struct bps_event_t;
@@ -54,7 +55,7 @@ QT_BEGIN_NAMESPACE
class BbVideoWindowControl;
class BbMediaPlayerControl : public QMediaPlayerControl
class BbMediaPlayerControl : public QMediaPlayerControl, public QAbstractNativeEventFilter
{
Q_OBJECT
public:
@@ -97,7 +98,7 @@ public:
void stop();
void setVideoControl(BbVideoWindowControl *videoControl);
void bpsEventHandler(bps_event_t *event);
bool nativeEventFilter(const QByteArray &eventType, void *message, long *result) Q_DECL_OVERRIDE;
private Q_SLOTS:
void continueLoadMedia();