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:
committed by
Qt by Nokia
parent
ae728a4b1e
commit
ace2c75167
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user