summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformscreen_qpa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qplatformscreen_qpa.h')
-rw-r--r--src/gui/kernel/qplatformscreen_qpa.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/gui/kernel/qplatformscreen_qpa.h b/src/gui/kernel/qplatformscreen_qpa.h
index e4b9b762b1..b6eb91f9b2 100644
--- a/src/gui/kernel/qplatformscreen_qpa.h
+++ b/src/gui/kernel/qplatformscreen_qpa.h
@@ -63,21 +63,13 @@ class QPlatformBackingStore;
class QPlatformOpenGLContext;
class QPlatformScreenPrivate;
class QPlatformWindow;
+class QPlatformCursor;
+class QPlatformScreenPageFlipper;
class QScreen;
class QSurfaceFormat;
typedef QPair<qreal, qreal> QDpi;
-class Q_GUI_EXPORT QPlatformScreenPageFlipper : public QObject
-{
- Q_OBJECT
-public:
- virtual bool displayBuffer(void *bufferHandle) = 0;
-
- signals:
- void bufferDisplayed(void *bufferHandle);
- void bufferReleased(void *bufferHandle);
-};
class Q_GUI_EXPORT QPlatformScreen
{
@@ -112,6 +104,7 @@ public:
virtual QString name() const { return QString(); }
virtual QPlatformScreenPageFlipper *pageFlipper() const;
+ virtual QPlatformCursor *cursor() const;
protected:
QScopedPointer<QPlatformScreenPrivate> d_ptr;