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 ***************************************************************************/
15 using namespace Okular
;
20 Private( const QString
&url
)
22 m_rotation( Rotation0
),
23 m_playMode( PlayOnce
),
24 m_showControls( false )
32 bool m_showControls
: 1;
35 Movie::Movie( const QString
& fileName
)
36 : d( new Private( fileName
) )
45 QString
Movie::url() const
50 void Movie::setSize( const QSize
&aspect
)
55 QSize
Movie::size() const
60 void Movie::setRotation( Rotation rotation
)
62 d
->m_rotation
= rotation
;
65 Rotation
Movie::rotation() const
70 void Movie::setShowControls( bool show
)
72 d
->m_showControls
= show
;
75 bool Movie::showControls() const
77 return d
->m_showControls
;
80 void Movie::setPlayMode( Movie::PlayMode mode
)
85 Movie::PlayMode
Movie::playMode() const