1 /***************************************************************************
2 * Copyright (C) 2008 by Pino Toscano <pino@kde.org> *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 ***************************************************************************/
10 #ifndef _OKULAR_VIDEOWIDGET_H_
11 #define _OKULAR_VIDEOWIDGET_H_
17 class MovieAnnotation
;
21 class VideoWidget
: public QWidget
25 VideoWidget( Okular::MovieAnnotation
*movieann
, Okular::Document
*document
, QWidget
*parent
= 0 );
28 void setNormGeometry( const Okular::NormalizedRect
&rect
);
29 Okular::NormalizedRect
normGeometry() const;
37 /* reimp */ bool eventFilter( QObject
* object
, QEvent
* event
);
38 /* reimp */ bool event( QEvent
* event
);
39 /* reimp */ void resizeEvent( QResizeEvent
* event
);
42 Q_PRIVATE_SLOT( d
, void finished() )
43 Q_PRIVATE_SLOT( d
, void playOrPause() )