summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxcursor.h
blob: 6592e0a5ee852e457bfbcb612398d247eeb96153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (C) 2011 - 2012 Research In Motion
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef QQNXCURSOR_H
#define QQNXCURSOR_H

#include <qpa/qplatformcursor.h>

QT_BEGIN_NAMESPACE

class QQnxCursor : public QPlatformCursor
{
public:
    QQnxCursor();

#if !defined(QT_NO_CURSOR)
    void changeCursor(QCursor *windowCursor, QWindow *window) override;
#endif
    void setPos(const QPoint &pos) override;

    QPoint pos() const override;

private:
    QPoint m_pos;
};

QT_END_NAMESPACE

#endif // QQNXCURSOR_H