summaryrefslogtreecommitdiffstats
path: root/examples/opengl/qopenglwindow/background_renderer.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-08-06 10:25:36 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-08-07 09:19:15 +0200
commit78221fe762fc21b629eb9a5643364d23680c349d (patch)
tree0630409789950f54c0b3ea13c3f1508f20b71833 /examples/opengl/qopenglwindow/background_renderer.h
parent37023a096d5fec6937bca25047973a05041db66f (diff)
Clean up the QOpenGLWindow example
1. Use includes without module prefixes, as is the custom in examples. 2. No inline functions to make it more readable. 3. Pause animation on pressing P and document our signal connection a bit more. Change-Id: I68dc3d4c74b639cf3fec17b63b7f49626db58bdb Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'examples/opengl/qopenglwindow/background_renderer.h')
-rw-r--r--examples/opengl/qopenglwindow/background_renderer.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/opengl/qopenglwindow/background_renderer.h b/examples/opengl/qopenglwindow/background_renderer.h
index 4f968325d5..3759de478c 100644
--- a/examples/opengl/qopenglwindow/background_renderer.h
+++ b/examples/opengl/qopenglwindow/background_renderer.h
@@ -41,14 +41,14 @@
#ifndef FRAGMENT_TOY_H
#define FRAGMENT_TOY_H
-#include <QtCore/QObject>
-#include <QtCore/QFile>
-#include <QtCore/QDateTime>
-#include <QtCore/QFileSystemWatcher>
-#include <QtGui/QOpenGLVertexArrayObject>
-#include <QtGui/QOpenGLBuffer>
-#include <QtGui/QOpenGLShaderProgram>
-#include <QtGui/QOpenGLFunctions>
+#include <QObject>
+#include <QFile>
+#include <QDateTime>
+#include <QFileSystemWatcher>
+#include <QOpenGLVertexArrayObject>
+#include <QOpenGLBuffer>
+#include <QOpenGLShaderProgram>
+#include <QOpenGLFunctions>
class FragmentToy : public QObject, protected QOpenGLFunctions
{