diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-21 08:09:45 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-08-21 08:09:45 (GMT) |
commit | 932c48658656fa328507b16e39c3a6cc820ef15e (patch) | |
tree | e9c5b731715c1b2bfac754655bb35cd30b2cac79 /src/3rdparty/phonon/mmf/videowidget.cpp | |
parent | 2150242ddbe66c5d4c440599f1282580be013e61 (diff) | |
download | Qt-932c48658656fa328507b16e39c3a6cc820ef15e.zip Qt-932c48658656fa328507b16e39c3a6cc820ef15e.tar.gz Qt-932c48658656fa328507b16e39c3a6cc820ef15e.tar.bz2 |
Tidied up trace statements
Diffstat (limited to 'src/3rdparty/phonon/mmf/videowidget.cpp')
-rw-r--r-- | src/3rdparty/phonon/mmf/videowidget.cpp | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/src/3rdparty/phonon/mmf/videowidget.cpp b/src/3rdparty/phonon/mmf/videowidget.cpp index 3438aaa..194c885 100644 --- a/src/3rdparty/phonon/mmf/videowidget.cpp +++ b/src/3rdparty/phonon/mmf/videowidget.cpp @@ -16,9 +16,9 @@ along with this library. If not, see <http://www.gnu.org/licenses/>. */ +#include "utils.h" #include "videowidget.h" - using namespace Phonon; using namespace Phonon::MMF; @@ -49,12 +49,18 @@ MMF::VideoWidget::VideoWidget(QWidget* parent) , m_hue(DefaultHue) , m_saturation(DefaultSaturation) { - + TRACE_CONTEXT(VideoWidget::VideoWidget, EVideoApi); + TRACE_ENTRY_0(); + + TRACE_EXIT_0(); } MMF::VideoWidget::~VideoWidget() { - + TRACE_CONTEXT(VideoWidget::~VideoWidget, EVideoApi); + TRACE_ENTRY_0(); + + TRACE_EXIT_0(); } @@ -70,6 +76,9 @@ Phonon::VideoWidget::AspectRatio MMF::VideoWidget::aspectRatio() const void MMF::VideoWidget::setAspectRatio (Phonon::VideoWidget::AspectRatio aspectRatio) { + TRACE_CONTEXT(VideoWidget::setAspectRatio, EVideoApi); + TRACE("aspectRatio %d", aspectRatio); + m_aspectRatio = aspectRatio; } @@ -80,6 +89,9 @@ qreal MMF::VideoWidget::brightness() const void MMF::VideoWidget::setBrightness(qreal brightness) { + TRACE_CONTEXT(VideoWidget::setBrightness, EVideoApi); + TRACE("brightness %f", brightness); + m_brightness = brightness; } @@ -90,6 +102,9 @@ Phonon::VideoWidget::ScaleMode MMF::VideoWidget::scaleMode() const void MMF::VideoWidget::setScaleMode(Phonon::VideoWidget::ScaleMode scaleMode) { + TRACE_CONTEXT(VideoWidget::setScaleMode, EVideoApi); + TRACE("setScaleMode %d", setScaleMode); + m_scaleMode = scaleMode; } @@ -100,6 +115,9 @@ qreal MMF::VideoWidget::contrast() const void MMF::VideoWidget::setContrast(qreal contrast) { + TRACE_CONTEXT(VideoWidget::setContrast, EVideoApi); + TRACE("contrast %f", contrast); + m_contrast = contrast; } @@ -110,6 +128,9 @@ qreal MMF::VideoWidget::hue() const void MMF::VideoWidget::setHue(qreal hue) { + TRACE_CONTEXT(VideoWidget::setHue, EVideoApi); + TRACE("hue %f", hue); + m_hue = hue; } @@ -120,6 +141,9 @@ qreal MMF::VideoWidget::saturation() const void MMF::VideoWidget::setSaturation(qreal saturation) { + TRACE_CONTEXT(VideoWidget::setSaturation, EVideoApi); + TRACE("saturation %f", saturation); + m_saturation = saturation; } |