equal
deleted
inserted
replaced
21 |
21 |
22 #include "mmf_medianode.h" |
22 #include "mmf_medianode.h" |
23 #include "videooutput.h" |
23 #include "videooutput.h" |
24 |
24 |
25 #include <QtGui/QWidget> |
25 #include <QtGui/QWidget> |
26 #include <Phonon/VideoWidget> |
26 #include <phonon/videowidget.h> |
27 #include <Phonon/VideoWidgetInterface> |
27 #include <phonon/videowidgetinterface.h> |
28 |
28 |
29 QT_BEGIN_NAMESPACE |
29 QT_BEGIN_NAMESPACE |
30 |
30 |
31 namespace Phonon |
31 namespace Phonon |
32 { |
32 { |
59 virtual qreal saturation() const; |
59 virtual qreal saturation() const; |
60 virtual void setSaturation(qreal saturation); |
60 virtual void setSaturation(qreal saturation); |
61 virtual QWidget *widget(); |
61 virtual QWidget *widget(); |
62 |
62 |
63 protected: |
63 protected: |
64 virtual bool activateOnMediaObject(MediaObject *mo); |
64 // MediaNode |
|
65 void connectMediaObject(MediaObject *mediaObject); |
|
66 void disconnectMediaObject(MediaObject *mediaObject); |
65 |
67 |
66 private: |
68 private: |
67 QScopedPointer<VideoOutput> m_videoOutput; |
69 QScopedPointer<VideoOutput> m_videoOutput; |
68 |
70 |
69 qreal m_brightness; |
71 qreal m_brightness; |