diff options
Diffstat (limited to 'src/plugins/symbian/videooutput/s60videowidgetcontrol.cpp')
-rw-r--r-- | src/plugins/symbian/videooutput/s60videowidgetcontrol.cpp | 171 |
1 files changed, 0 insertions, 171 deletions
diff --git a/src/plugins/symbian/videooutput/s60videowidgetcontrol.cpp b/src/plugins/symbian/videooutput/s60videowidgetcontrol.cpp deleted file mode 100644 index cb417a392..000000000 --- a/src/plugins/symbian/videooutput/s60videowidgetcontrol.cpp +++ /dev/null @@ -1,171 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the Qt Mobility Components. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include "s60videowidgetcontrol.h" -#include "s60videowidgetdisplay.h" - -S60VideoWidgetControl::S60VideoWidgetControl(QObject *parent) -: QVideoWidgetControl(parent) -, m_display(new S60VideoWidgetDisplay(this)) -{ - connect(m_display, SIGNAL(nativeSizeChanged(QSize)), - this, SIGNAL(nativeSizeChanged())); -} - -S60VideoWidgetControl::~S60VideoWidgetControl() -{ - -} - -QWidget *S60VideoWidgetControl::videoWidget() -{ - return m_display->widget(); -} - -Qt::AspectRatioMode S60VideoWidgetControl::aspectRatioMode() const -{ - return m_display->aspectRatioMode(); -} - -void S60VideoWidgetControl::setAspectRatioMode(Qt::AspectRatioMode ratio) -{ - m_display->setAspectRatioMode(ratio); -} - -bool S60VideoWidgetControl::isFullScreen() const -{ - return m_display->isFullScreen(); -} - -void S60VideoWidgetControl::setFullScreen(bool fullScreen) -{ - m_display->setFullScreen(fullScreen); -} - -int S60VideoWidgetControl::brightness() const -{ - return 0; -} - -void S60VideoWidgetControl::setBrightness(int brightness) -{ - Q_UNUSED(brightness); -} - -int S60VideoWidgetControl::contrast() const -{ - return 0; -} - -void S60VideoWidgetControl::setContrast(int contrast) -{ - Q_UNUSED(contrast); -} - -int S60VideoWidgetControl::hue() const -{ - return 0; -} - -void S60VideoWidgetControl::setHue(int hue) -{ - Q_UNUSED(hue); -} - -int S60VideoWidgetControl::saturation() const -{ - return 0; -} - -void S60VideoWidgetControl::setSaturation(int saturation) -{ - Q_UNUSED(saturation); -} - -S60VideoWidgetDisplay *S60VideoWidgetControl::display() const -{ - return m_display; -} - -void S60VideoWidgetControl::setTopWinId(WId id) -{ - m_display->setTopWinId(id); -} - -WId S60VideoWidgetControl::topWinId() const -{ - return m_display->topWinId(); -} - -int S60VideoWidgetControl::ordinalPosition() const -{ - return m_display->ordinalPosition(); -} - -void S60VideoWidgetControl::setOrdinalPosition(int ordinalPosition) -{ - m_display->setOrdinalPosition(ordinalPosition); -} - -const QRect &S60VideoWidgetControl::extentRect() const -{ - return m_display->explicitExtentRect(); -} - -void S60VideoWidgetControl::setExtentRect(const QRect &rect) -{ - m_display->setExplicitExtentRect(rect); -} - -QSize S60VideoWidgetControl::nativeSize() const -{ - return m_display->nativeSize(); -} - -qreal S60VideoWidgetControl::rotation() const -{ - return m_display->rotation(); -} - -void S60VideoWidgetControl::setRotation(qreal value) -{ - m_display->setRotation(value); -} |