summaryrefslogtreecommitdiff
path: root/examples/player/histogramwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/player/histogramwidget.h')
-rw-r--r--examples/player/histogramwidget.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/player/histogramwidget.h b/examples/player/histogramwidget.h
index 6607a746b..6a8aa16fe 100644
--- a/examples/player/histogramwidget.h
+++ b/examples/player/histogramwidget.h
@@ -41,13 +41,12 @@
#ifndef HISTOGRAMWIDGET_H
#define HISTOGRAMWIDGET_H
-#include <QWidget>
-#include <qvideoframe.h>
#include <QThread>
+#include <QVideoFrame>
+#include <QWidget>
-QT_USE_NAMESPACE
-
-class FrameProcessor: public QObject {
+class FrameProcessor: public QObject
+{
Q_OBJECT
public slots:
@@ -60,6 +59,7 @@ signals:
class HistogramWidget : public QWidget
{
Q_OBJECT
+
public:
explicit HistogramWidget(QWidget *parent = 0);
~HistogramWidget();