diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-07-30 15:21:17 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-08-28 13:09:42 +0200 |
commit | 0f3c1a1669aa133efd8701f25b8b8093517b81a7 (patch) | |
tree | 964e3be6ecd36c0c4eeafbab0f65e74eac9ee80b /examples/wayland/server-buffer/compositor/main.cpp | |
parent | d1359f8b0c2b8fcffc2112d2e29d530ac1ab7c9a (diff) |
Rename QWaylandSurfaceView to QWaylandView
and rename QWaylandSurfaceItem to QWaylandQuickView
Change-Id: I989b482eb79df06e9f265bc2b0ef6b3dce7509d6
Diffstat (limited to 'examples/wayland/server-buffer/compositor/main.cpp')
-rw-r--r-- | examples/wayland/server-buffer/compositor/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/wayland/server-buffer/compositor/main.cpp b/examples/wayland/server-buffer/compositor/main.cpp index 22bce42e8..287c0cfe1 100644 --- a/examples/wayland/server-buffer/compositor/main.cpp +++ b/examples/wayland/server-buffer/compositor/main.cpp @@ -41,7 +41,7 @@ #include "qwaylandquickcompositor.h" #include "qwaylandsurface.h" -#include "qwaylandsurfaceitem.h" +#include "qwaylandquickview.h" #include "qwaylandoutputspace.h" #include <QGuiApplication> @@ -108,9 +108,9 @@ public: m_view.show(); } - Q_INVOKABLE QWaylandSurfaceItem *item(QWaylandSurface *surf) + Q_INVOKABLE QWaylandQuickView *item(QWaylandSurface *surf) { - return static_cast<QWaylandSurfaceItem *>(surf->views().first()); + return static_cast<QWaylandQuickView *>(surf->views().first()); } signals: |