Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qhaikucursor.h
Go to the documentation of this file.
1// Copyright (C) 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias Koenig <tobias.koenig@kdab.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QHAIKUCURSOR_H
5#define QHAIKUCURSOR_H
6
7#include <qpa/qplatformcursor.h>
8
9#include <Cursor.h>
10
11QT_BEGIN_NAMESPACE
12
13class QHaikuCursor : public QPlatformCursor
14{
15public:
16 QHaikuCursor();
17
18#ifndef QT_NO_CURSOR
19 void changeCursor(QCursor *windowCursor, QWindow *window) override;
20#endif
21
22private:
23 QHash<Qt::CursorShape, BCursorID> m_cursorIds;
24 QHash<Qt::CursorShape, BCursor*> m_cursors;
25};
26
27QT_END_NAMESPACE
28
29#endif