From fa0407bdb50262f8748e955cf698181cc6906542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lind?= Date: Wed, 7 Sep 2011 08:14:22 +0200 Subject: move QSurface into its own file. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit also move QPlatformSurface to its own file Change-Id: I29fb6c70ede18a0ac5e0f6bfb97a33293633e668 Reviewed-on: http://codereview.qt.nokia.com/4309 Reviewed-by: Qt Sanity Bot Reviewed-by: Samuel Rødal --- src/gui/kernel/qplatformopenglcontext_qpa.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/gui/kernel/qplatformopenglcontext_qpa.h') diff --git a/src/gui/kernel/qplatformopenglcontext_qpa.h b/src/gui/kernel/qplatformopenglcontext_qpa.h index 902ccdec6d..6fb8da25c1 100644 --- a/src/gui/kernel/qplatformopenglcontext_qpa.h +++ b/src/gui/kernel/qplatformopenglcontext_qpa.h @@ -52,21 +52,6 @@ QT_BEGIN_NAMESPACE QT_MODULE(Gui) -class Q_GUI_EXPORT QPlatformSurface -{ -public: - virtual QSurfaceFormat format() const = 0; - - QSurface::SurfaceType surfaceType() const { return m_type; } - -private: - QPlatformSurface(QSurface::SurfaceType type) : m_type(type) {} - - QSurface::SurfaceType m_type; - - friend class QPlatformWindow; -}; - class QPlatformOpenGLContextPrivate; class Q_GUI_EXPORT QPlatformOpenGLContext -- cgit v1.2.3