Okular
7 #ifndef _OKULAR_ACTION_H_
8 #define _OKULAR_ACTION_H_
11 #include "okularcore_export.h"
19 class GotoActionPrivate;
20 class ExecuteActionPrivate;
21 class BrowseActionPrivate;
22 class DocumentActionPrivate;
23 class SoundActionPrivate;
24 class ScriptActionPrivate;
25 class MovieActionPrivate;
26 class RenditionActionPrivate;
69 virtual ActionType actionType()
const = 0;
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;
573 class OKULARCORE_EXPORT BackendOpaqueAction :
public Action
576 BackendOpaqueAction();
581 ActionType actionType()
const override;
584 Q_DISABLE_COPY(BackendOpaqueAction)
Contains information about a sound object.
The documentation to the global Okular namespace.
The Rendition action executes an operation on a video or executes some JavaScript code on activation.
Encapsulates data that describes an action.
The Goto action changes the viewport to another page or loads an external document.
The Script action executes a Script code.
The Execute action executes an external application.
@ Play
Start playing the video.
The Movie action executes an operation on a video on activation.
@ Goto
Goto a given page or external document.
OperationType
Describes the possible operation types.
DocumentActionType
Describes the possible action types.
OperationType
Describes the possible operation types.
Contains information about a movie object.
ScriptType
Describes the possible script types.
ActionType
Describes the type of action.
@ None
Execute only the JavaScript.
@ Script
Executes a Script code.
@ Rendition
Play a movie and/or execute a Script code.
The Browse action browses an url by opening a web browser or email client, depending on the url proto...
@ Stop
Stop playing the video.
The Sound action plays a sound on activation.
The DocumentAction action contains an action that is performed on the current document.
@ Execute
Execute a command or external application.
@ DocAction
Start a custom action.
@ Browse
Browse a given website.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 03:54:22 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.