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 ()
 
const void * nativeHandle () const
 
OKULARCORE_DEPRECATED QVariant nativeId () const
 
QVector< Action * > nextActions () const
 
void setNativeHandle (std::shared_ptr< const void > handle)
 
OKULARCORE_DEPRECATED 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 468 of file action.h.

Member Enumeration Documentation

◆ OperationType

Describes the possible operation types.

Definition at line 474 of file action.h.

Constructor & Destructor Documentation

◆ MovieAction()

MovieAction::MovieAction ( OperationType operation)
explicit

Creates a new movie action.

Definition at line 469 of file action.cpp.

◆ ~MovieAction()

MovieAction::~MovieAction ( )
override

Destroys the movie action.

Definition at line 474 of file action.cpp.

Member Function Documentation

◆ actionTip()

QString MovieAction::actionTip ( ) const
overridevirtual

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 483 of file action.cpp.

◆ actionType()

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

Returns the action type.

Implements Okular::Action.

Definition at line 478 of file action.cpp.

◆ annotation()

MovieAnnotation * MovieAction::annotation ( ) const

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

Definition at line 500 of file action.cpp.

◆ operation()

MovieAction::OperationType MovieAction::operation ( ) const

Returns the operation type.

Definition at line 488 of file action.cpp.

◆ setAnnotation()

void MovieAction::setAnnotation ( MovieAnnotation * annotation)

Sets the annotation that is associated with the movie action.

Definition at line 494 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 Mon Nov 18 2024 12:14:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.