Okular::MovieAction

Search for usage in LXR

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
 
MovieAnnotationannotation () const
 
OperationType operation () const
 
void setAnnotation (MovieAnnotation *annotation)
 
- Public Member Functions inherited from Okular::Action
virtual ~Action ()
 
QVariant nativeId () const
 
QVector< Action * > nextActions () const
 
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)

Definition at line 448 of file action.h.

Member Enumeration Documentation

Describes the possible operation types.

Definition at line 454 of file action.h.

Constructor & Destructor Documentation

MovieAction::MovieAction ( OperationType  operation)
explicit

Creates a new movie action.

Definition at line 460 of file action.cpp.

MovieAction::~MovieAction ( )
override

Destroys the movie action.

Definition at line 465 of file action.cpp.

Member Function Documentation

QString MovieAction::actionTip ( ) const
overridevirtual

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 474 of file action.cpp.

Action::ActionType MovieAction::actionType ( ) const
overridevirtual

Returns the action type.

Implements Okular::Action.

Definition at line 469 of file action.cpp.

MovieAnnotation * MovieAction::annotation ( ) const

Returns the annotation or 0 if no annotation has been set.

Definition at line 491 of file action.cpp.

MovieAction::OperationType MovieAction::operation ( ) const

Returns the operation type.

Definition at line 479 of file action.cpp.

void MovieAction::setAnnotation ( MovieAnnotation annotation)

Sets the annotation that is associated with the movie action.

Definition at line 485 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-2021 The KDE developers.
Generated on Wed May 12 2021 22:35:30 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.