Okular
7#ifndef _OKULAR_ACTION_H_
8#define _OKULAR_ACTION_H_
11#include "okularcore_export.h"
19class GotoActionPrivate;
20class ExecuteActionPrivate;
21class BrowseActionPrivate;
22class DocumentActionPrivate;
23class SoundActionPrivate;
24class ScriptActionPrivate;
25class MovieActionPrivate;
26class RenditionActionPrivate;
75 virtual QString actionTip()
const;
88 void setNativeId(
const QVariant &
id);
114 explicit Action(ActionPrivate &dd);
116 ActionPrivate *d_ptr;
161 QString actionTip()
const override;
166 bool isExternal()
const;
183 QString destinationName()
const;
217 QString actionTip()
const override;
261 QString actionTip()
const override;
305 explicit DocumentAction(
enum DocumentActionType documentActionType);
315 ActionType actionType()
const override;
320 QString actionTip()
const override;
325 DocumentActionType documentActionType()
const;
362 QString actionTip()
const override;
367 double volume()
const;
372 bool synchronous()
const;
423 QString actionTip()
const override;
466 ActionType actionType()
const override;
471 QString actionTip()
const override;
476 OperationType operation()
const;
531 ActionType actionType()
const override;
536 QString actionTip()
const override;
541 OperationType operation()
const;
573class OKULARCORE_EXPORT BackendOpaqueAction :
public Action
576 BackendOpaqueAction();
581 ActionType actionType()
const override;
584 Q_DISABLE_COPY(BackendOpaqueAction)
Encapsulates data that describes an action.
ActionType
Describes the type of action.
@ Execute
Execute a command or external application.
@ Goto
Goto a given page or external document.
@ DocAction
Start a custom action.
@ Browse
Browse a given website.
@ Script
Executes a Script code.
@ Rendition
Play a movie and/or execute a Script code.
virtual ActionType actionType() const =0
Returns the type of the action.
The Browse action browses an url by opening a web browser or email client, depending on the url proto...
The DocumentAction action contains an action that is performed on the current document.
DocumentActionType
Describes the possible action types.
The Execute action executes an external application.
The Goto action changes the viewport to another page or loads an external document.
The Movie action executes an operation on a video on activation.
OperationType
Describes the possible operation types.
Contains information about a movie object.
The Rendition action executes an operation on a video or executes some JavaScript code on activation.
OperationType
Describes the possible operation types.
@ Stop
Stop playing the video.
@ None
Execute only the JavaScript.
@ Play
Start playing the video.
The Script action executes a Script code.
The Sound action plays a sound on activation.
Contains information about a sound object.
ScriptType
Describes the possible script types.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:48:49 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.