summaryrefslogtreecommitdiffstats
path: root/examples/wayland/minimal-cpp/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/minimal-cpp/window.h')
-rw-r--r--examples/wayland/minimal-cpp/window.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/wayland/minimal-cpp/window.h b/examples/wayland/minimal-cpp/window.h
index 1a106da9..7711e0bd 100644
--- a/examples/wayland/minimal-cpp/window.h
+++ b/examples/wayland/minimal-cpp/window.h
@@ -60,10 +60,14 @@ class Compositor;
class Window : public QOpenGLWindow
{
+ Q_OBJECT
public:
Window();
void setCompositor(Compositor *comp);
+signals:
+ void glReady();
+
protected:
void initializeGL() override;
void paintGL() override;