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,

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.

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)

Creates a new movie action.

Definition at line 457 of file action.cpp.

◆ ~MovieAction()

MovieAction::~MovieAction ( )

Destroys the movie action.

Definition at line 462 of file action.cpp.

Member Function Documentation

◆ actionTip()

QString MovieAction::actionTip ( ) const

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 471 of file action.cpp.

◆ actionType()

Action::ActionType MovieAction::actionType ( ) const

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-2023 The KDE developers.
Generated on Mon May 8 2023 04:08:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.