Okular::MovieAction
Okular::MovieAction Class Reference
#include <action.h>
Inheritance diagram for Okular::MovieAction:
Public Types | |
enum | OperationType { Play , Stop , Pause , Resume } |
Public Types inherited from Okular::Action | |
enum | ActionType { Goto , Execute , Browse , DocAction , Sound , Movie , Script , Rendition , BackendOpaque } |
Public Member Functions | |
MovieAction (OperationType operation) | |
~MovieAction () override | |
QString | actionTip () const override |
ActionType | actionType () const override |
MovieAnnotation * | annotation () const |
OperationType | operation () const |
void | setAnnotation (MovieAnnotation *annotation) |
Public Member Functions inherited from Okular::Action | |
virtual | ~Action () |
const void * | nativeHandle () const |
OKULARCORE_DEPRECATED QVariant | nativeId () const |
QVector< Action * > | nextActions () const |
void | setNativeHandle (std::shared_ptr< const void > handle) |
OKULARCORE_DEPRECATED void | setNativeId (const QVariant &id) |
void | setNextActions (const QVector< Action * > &actions) |
Detailed Description
The Movie action executes an operation on a video on activation.
- Since
- 0.15 (KDE 4.9)
Member Enumeration Documentation
◆ OperationType
Constructor & Destructor Documentation
◆ MovieAction()
|
explicit |
Creates a new movie action.
Definition at line 469 of file action.cpp.
◆ ~MovieAction()
|
override |
Destroys the movie action.
Definition at line 474 of file action.cpp.
Member Function Documentation
◆ actionTip()
|
overridevirtual |
Returns the action tip.
Reimplemented from Okular::Action.
Definition at line 483 of file action.cpp.
◆ actionType()
|
overridevirtual |
◆ annotation()
MovieAnnotation * MovieAction::annotation | ( | ) | const |
Returns the annotation or 0
if no annotation has been set.
Definition at line 500 of file action.cpp.
◆ operation()
MovieAction::OperationType MovieAction::operation | ( | ) | const |
Returns the operation type.
Definition at line 488 of file action.cpp.
◆ setAnnotation()
void MovieAction::setAnnotation | ( | MovieAnnotation * | annotation | ) |
Sets the annotation
that is associated with the movie action.
Definition at line 494 of file action.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:49:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:49:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.