32 lines
614 B
C++
32 lines
614 B
C++
/*
|
|
KWin - the KDE window manager
|
|
This file is part of the KDE project.
|
|
|
|
SPDX-FileCopyrightText: 2016 Martin Gräßlin <mgraesslin@kde.org>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
#ifndef KWIN_QPA_PLATFORMCURSOR_H
|
|
#define KWIN_QPA_PLATFORMCURSOR_H
|
|
|
|
#include <qpa/qplatformcursor.h>
|
|
|
|
namespace KWin
|
|
{
|
|
namespace QPA
|
|
{
|
|
|
|
class PlatformCursor : public QPlatformCursor
|
|
{
|
|
public:
|
|
PlatformCursor();
|
|
~PlatformCursor() override;
|
|
QPoint pos() const override;
|
|
void setPos(const QPoint &pos) override;
|
|
void changeCursor(QCursor *windowCursor, QWindow *window) override;
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif
|