• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegraphics API Reference
  • KDE Home
  • Contact Us
 

okular

  • Okular
  • RenditionAction
Public Types | Public Member Functions | List of all members
Okular::RenditionAction Class Reference

#include <action.h>

Inheritance diagram for Okular::RenditionAction:
Inheritance graph
[legend]

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)

Definition at line 491 of file action.h.

Member Enumeration Documentation

enum Okular::RenditionAction::OperationType

Describes the possible operation types.

Enumerator
None 

Execute only the JavaScript.

Play 

Start playing the video.

Stop 

Stop playing the video.

Pause 

Pause the video.

Resume 

Resume playing the video.

Definition at line 497 of file action.h.

Constructor & Destructor Documentation

RenditionAction::RenditionAction ( OperationType  operation,
Okular::Movie *  movie,
enum ScriptType  scriptType,
const QString &  script 
)

Creates a new rendition action.

Parameters
operationThe type of operation the action executes.
movieThe movie object the action references.
scriptTypeThe type of script the action executes.
scriptThe actual script the action executes.

Definition at line 486 of file action.cpp.

RenditionAction::~RenditionAction ( )
virtual

Destroys the rendition action.

Definition at line 491 of file action.cpp.

Member Function Documentation

QString RenditionAction::actionTip ( ) const
virtual

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 500 of file action.cpp.

Action::ActionType RenditionAction::actionType ( ) const
virtual

Returns the action type.

Implements Okular::Action.

Definition at line 495 of file action.cpp.

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:
  • action.h
  • action.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal