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 445 of file action.h.

Member Enumeration Documentation

◆ OperationType

Describes the possible operation types.

Definition at line 451 of file action.h.

Constructor & Destructor Documentation

◆ MovieAction()

MovieAction::MovieAction ( OperationType operation)
explicit

Creates a new movie action.

Definition at line 457 of file action.cpp.

◆ ~MovieAction()

MovieAction::~MovieAction ( )
override

Destroys the movie action.

Definition at line 462 of file action.cpp.

Member Function Documentation

◆ actionTip()

QString MovieAction::actionTip ( ) const
overridevirtual

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 471 of file action.cpp.

◆ actionType()

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

Returns the action type.

Implements Okular::Action.

Definition at line 466 of file action.cpp.

◆ annotation()

MovieAnnotation * MovieAction::annotation ( ) const

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

Definition at line 488 of file action.cpp.

◆ operation()

MovieAction::OperationType MovieAction::operation ( ) const

Returns the operation type.

Definition at line 476 of file action.cpp.

◆ setAnnotation()

void MovieAction::setAnnotation ( MovieAnnotation * annotation)

Sets the annotation that is associated with the movie action.

Definition at line 482 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 May 3 2024 11:48:22 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.