X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bindings%2Fphonon%2Fvlc%2Fvlcvideowidget.h;fp=bindings%2Fphonon%2Fvlc%2Fvlcvideowidget.h;h=0000000000000000000000000000000000000000;hb=080366288b88911511c18ca5eb3a074bf84be59b;hp=d8e9d216a8615636f9612121d9170f79d0a675fa;hpb=b1e53a17fd3b276cb05e90ff1d5614cb77616e0f;p=vlc diff --git a/bindings/phonon/vlc/vlcvideowidget.h b/bindings/phonon/vlc/vlcvideowidget.h deleted file mode 100644 index d8e9d216a8..0000000000 --- a/bindings/phonon/vlc/vlcvideowidget.h +++ /dev/null @@ -1,65 +0,0 @@ -/***************************************************************************** - * VLC backend for the Phonon library * - * Copyright (C) 2007-2008 Tanguy Krotoff * - * Copyright (C) 2008 Lukas Durfina * - * Copyright (C) 2009 Fathi Boudra * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Lesser General Public * - * License as published by the Free Software Foundation; either * - * version 3 of the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this package; if not, write to the Free Software * - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * - *****************************************************************************/ - -#ifndef PHONON_VLC_VLCVIDEOWIDGET_H -#define PHONON_VLC_VLCVIDEOWIDGET_H - -#include "widgetnopaintevent.h" - -#include - -class QResizeEvent; - -namespace Phonon -{ -namespace VLC { - -/** - * Widget where to show VLC video. - */ -class VLCVideoWidget : public WidgetNoPaintEvent -{ - Q_OBJECT -public: - - VLCVideoWidget(QWidget *p_parent); - ~VLCVideoWidget(); - - void setVideoSize(const QSize & videoSize); - void setAspectRatio(double f_aspect_ratio); - void setScaleAndCropMode(bool b_scale_and_crop); - - QSize sizeHint() const; - -private: - - void resizeEvent(QResizeEvent *p_event); - - /** - * Original size of the video, needed for sizeHint(). - */ - QSize videoSize; -}; - -} -} // Namespace Phonon::VLC_MPlayer - -#endif // PHONON_VLC_MPLAYER_VLCVIDEOWIDGET_H