diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-09-07 11:08:29 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-09-10 08:20:22 +0000 |
commit | 762d384b806deb84072a5c7eb6b91afa1e150c1f (patch) | |
tree | 97affde5f9e57f4159edb903e2d84faa54d1f7ba /src/compositor/compositor_api/qwaylandcompositor_p.h | |
parent | c0d77f8bb31d50b73543ef41875cdb4737aebb92 (diff) |
Move the createDefaultSurface function to QWaylandCompositorPrivate
Its really not meant to be reimplemented by other classes than
QWaylandCompositor or QWaylandQuickCompositor because of the
createSurface signal. If someone really wants to use the virtual
function then they can subclass the private
Change-Id: Iad88fde3fc999ac18bdc57bd37864884865a962a
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
Diffstat (limited to 'src/compositor/compositor_api/qwaylandcompositor_p.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylandcompositor_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandcompositor_p.h b/src/compositor/compositor_api/qwaylandcompositor_p.h index e6e3f584a..1975bd879 100644 --- a/src/compositor/compositor_api/qwaylandcompositor_p.h +++ b/src/compositor/compositor_api/qwaylandcompositor_p.h @@ -96,6 +96,7 @@ protected: void compositor_create_surface(Resource *resource, uint32_t id) Q_DECL_OVERRIDE; void compositor_create_region(Resource *resource, uint32_t id) Q_DECL_OVERRIDE; + virtual QWaylandSurface *createDefaultSurface(); protected: void initializeHardwareIntegration(); void initializeExtensions(); |