Compile after QPA API changes.

QMouseEvent -> QPoint in QSimpleDrag::move and drop

Task-number: QTBUG-46615
Change-Id: I9cda0f039ee8f5a70219b320abbb65f8649747e1
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
This commit is contained in:
Morten Johan Sørvig 2015-07-10 10:58:21 +02:00
parent bd4a0928ab
commit df9b95be2a
2 changed files with 6 additions and 6 deletions

View File

@ -89,15 +89,15 @@ void QWaylandDrag::cancel()
m_display->currentInputDevice()->dataDevice()->cancelDrag();
}
void QWaylandDrag::move(const QMouseEvent *me)
void QWaylandDrag::move(const QPoint &globalPos)
{
Q_UNUSED(me);
Q_UNUSED(globalPos);
// Do nothing
}
void QWaylandDrag::drop(const QMouseEvent *me)
void QWaylandDrag::drop(const QPoint &globalPos)
{
Q_UNUSED(me);
Q_UNUSED(globalPos);
// Do nothing
}

View File

@ -63,8 +63,8 @@ public:
protected:
void startDrag() Q_DECL_OVERRIDE;
void cancel() Q_DECL_OVERRIDE;
void move(const QMouseEvent *me) Q_DECL_OVERRIDE;
void drop(const QMouseEvent *me) Q_DECL_OVERRIDE;
void move(const QPoint &globalPos) Q_DECL_OVERRIDE;
void drop(const QPoint &globalpos) Q_DECL_OVERRIDE;
void endDrag() Q_DECL_OVERRIDE;