okular
#include <action.h>
Public Types | |
enum | OperationType { None, Play, Stop, Pause, Resume } |
Public Types inherited from Okular::Action | |
enum | ActionType { Goto, Execute, Browse, DocAction, Sound, Movie, Script, Rendition } |
Public Member Functions | |
RenditionAction (OperationType operation, Okular::Movie *movie, enum ScriptType scriptType, const QString &script) | |
virtual | ~RenditionAction () |
QString | actionTip () const |
ActionType | actionType () const |
ScreenAnnotation * | annotation () const |
Okular::Movie * | movie () const |
OperationType | operation () const |
QString | script () const |
ScriptType | scriptType () const |
void | setAnnotation (ScreenAnnotation *annotation) |
Public Member Functions inherited from Okular::Action | |
virtual | ~Action () |
QVariant | nativeId () const |
void | setNativeId (const QVariant &id) |
Detailed Description
The Rendition action executes an operation on a video or executes some JavaScript code on activation.
- Since
- 0.16 (KDE 4.10)
Member Enumeration Documentation
Constructor & Destructor Documentation
RenditionAction::RenditionAction | ( | OperationType | operation, |
Okular::Movie * | movie, | ||
enum ScriptType | scriptType, | ||
const QString & | script | ||
) |
Creates a new rendition action.
- Parameters
-
operation The type of operation the action executes. movie The movie object the action references. scriptType The type of script the action executes. script The actual script the action executes.
Definition at line 486 of file action.cpp.
|
virtual |
Destroys the rendition action.
Definition at line 491 of file action.cpp.
Member Function Documentation
|
virtual |
Returns the action tip.
Reimplemented from Okular::Action.
Definition at line 500 of file action.cpp.
|
virtual |
ScreenAnnotation * RenditionAction::annotation | ( | ) | const |
Returns the annotation or 0
if no annotation has been set.
Definition at line 556 of file action.cpp.
Okular::Movie * RenditionAction::movie | ( | ) | const |
Returns the movie object or 0
if no movie object was set on construction time.
Definition at line 532 of file action.cpp.
RenditionAction::OperationType RenditionAction::operation | ( | ) | const |
Returns the operation type.
Definition at line 526 of file action.cpp.
QString RenditionAction::script | ( | ) | const |
Returns the script code.
Definition at line 544 of file action.cpp.
ScriptType RenditionAction::scriptType | ( | ) | const |
Returns the type of script.
Definition at line 538 of file action.cpp.
void RenditionAction::setAnnotation | ( | ScreenAnnotation * | annotation | ) |
Sets the annotation
that is associated with the rendition action.
Definition at line 550 of file action.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.