summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformopenglcontext_qpa.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-09-07 08:14:22 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-09-07 08:56:08 +0200
commitfa0407bdb50262f8748e955cf698181cc6906542 (patch)
tree9289292409d8b0ff64213ac6dcb234c03a1c8439 /src/gui/kernel/qplatformopenglcontext_qpa.h
parent5eaec40f63d9d3f71fd0c61d4169034322f83c0a (diff)
move QSurface into its own file.
also move QPlatformSurface to its own file Change-Id: I29fb6c70ede18a0ac5e0f6bfb97a33293633e668 Reviewed-on: http://codereview.qt.nokia.com/4309 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/kernel/qplatformopenglcontext_qpa.h')
-rw-r--r--src/gui/kernel/qplatformopenglcontext_qpa.h15
1 files changed, 0 insertions, 15 deletions
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