Changeset View
Changeset View
Standalone View
Standalone View
phonon/videowidget_p.h
Show All 30 Lines | |||||
31 | 31 | | |||
32 | namespace Phonon | 32 | namespace Phonon | ||
33 | { | 33 | { | ||
34 | 34 | | |||
35 | class VideoWidgetPrivate : public Phonon::AbstractVideoOutputPrivate | 35 | class VideoWidgetPrivate : public Phonon::AbstractVideoOutputPrivate | ||
36 | { | 36 | { | ||
37 | P_DECLARE_PUBLIC(VideoWidget) | 37 | P_DECLARE_PUBLIC(VideoWidget) | ||
38 | public: | 38 | public: | ||
39 | virtual QObject *qObject() { return q_func(); } | 39 | virtual QObject *qObject() override { return q_func(); } | ||
40 | protected: | 40 | protected: | ||
41 | virtual bool aboutToDeleteBackendObject(); | 41 | virtual bool aboutToDeleteBackendObject() override; | ||
42 | virtual void createBackendObject(); | 42 | virtual void createBackendObject() override; | ||
43 | void setupBackendObject(); | 43 | void setupBackendObject(); | ||
44 | 44 | | |||
45 | VideoWidgetPrivate(VideoWidget *parent) | 45 | VideoWidgetPrivate(VideoWidget *parent) | ||
46 | : layout(parent), | 46 | : layout(parent), | ||
47 | aspectRatio(VideoWidget::AspectRatioAuto), | 47 | aspectRatio(VideoWidget::AspectRatioAuto), | ||
48 | scaleMode(VideoWidget::FitInView), | 48 | scaleMode(VideoWidget::FitInView), | ||
49 | brightness(0), | 49 | brightness(0), | ||
50 | contrast(0), | 50 | contrast(0), | ||
Show All 25 Lines |