Okular::DocumentAction
Okular::DocumentAction Class Reference
#include <action.h>
Inheritance diagram for Okular::DocumentAction:

Public Types | |
enum | DocumentActionType { PageFirst = 1, PagePrev = 2, PageNext = 3, PageLast = 4, HistoryBack = 5, HistoryForward = 6, Quit = 7, Presentation = 8, EndPresentation = 9, Find = 10, GoToPage = 11, Close = 12, Print = 13, SaveAs = 14 } |
![]() | |
enum | ActionType { Goto, Execute, Browse, DocAction, Sound, Movie, Script, Rendition, BackendOpaque } |
Public Member Functions | |
DocumentAction (enum DocumentActionType documentActionType) | |
~DocumentAction () override | |
QString | actionTip () const override |
ActionType | actionType () const override |
DocumentActionType | documentActionType () const |
![]() | |
virtual | ~Action () |
QVariant | nativeId () const |
QVector< Action * > | nextActions () const |
void | setNativeId (const QVariant &id) |
void | setNextActions (const QVector< Action * > &actions) |
Detailed Description
The DocumentAction action contains an action that is performed on the current document.
Member Enumeration Documentation
◆ DocumentActionType
Describes the possible action types.
Constructor & Destructor Documentation
◆ DocumentAction()
|
explicit |
Creates a new document action.
- Parameters
-
documentActionType The type of document action.
Definition at line 259 of file action.cpp.
◆ ~DocumentAction()
|
override |
Destroys the document action.
Definition at line 264 of file action.cpp.
Member Function Documentation
◆ actionTip()
|
overridevirtual |
Returns the action tip.
Reimplemented from Okular::Action.
Definition at line 279 of file action.cpp.
◆ actionType()
|
overridevirtual |
◆ documentActionType()
DocumentAction::DocumentActionType DocumentAction::documentActionType | ( | ) | const |
Returns the type of action.
Definition at line 268 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 Sun Jun 4 2023 04:07:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jun 4 2023 04:07:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.