okular
#include <action.h>

Public Member Functions | |
| GotoAction (const QString &fileName, const DocumentViewport &viewport) | |
| GotoAction (const QString &fileName, const QString &namedDestination) | |
| virtual | ~GotoAction () |
| QString | actionTip () const |
| ActionType | actionType () const |
| QString | destinationName () const |
| DocumentViewport | destViewport () const |
| QString | fileName () const |
| bool | isExternal () const |
Public Member Functions inherited from Okular::Action | |
| virtual | ~Action () |
| QVariant | nativeId () const |
| void | setNativeId (const QVariant &id) |
Additional Inherited Members | |
Public Types inherited from Okular::Action | |
| enum | ActionType { Goto, Execute, Browse, DocAction, Sound, Movie, Script, Rendition } |
Detailed Description
The Goto action changes the viewport to another page or loads an external document.
Constructor & Destructor Documentation
| GotoAction::GotoAction | ( | const QString & | fileName, |
| const DocumentViewport & | viewport | ||
| ) |
Creates a new goto action.
fileName The name of an external file that shall be loaded. viewport The target viewport information of the current document.
Definition at line 84 of file action.cpp.
| GotoAction::GotoAction | ( | const QString & | fileName, |
| const QString & | namedDestination | ||
| ) |
Creates a new goto action.
fileName The name of an external file that shall be loaded. namedDestination The target named destination for the target document.
- Since
- 0.9 (KDE 4.3)
Definition at line 89 of file action.cpp.
|
virtual |
Destroys the goto action.
Definition at line 94 of file action.cpp.
Member Function Documentation
|
virtual |
Returns the action tip.
Reimplemented from Okular::Action.
Definition at line 103 of file action.cpp.
|
virtual |
| QString GotoAction::destinationName | ( | ) | const |
Returns the document named destination the goto action points to.
- Since
- 0.9 (KDE 4.3)
Definition at line 128 of file action.cpp.
| DocumentViewport GotoAction::destViewport | ( | ) | const |
Returns the document viewport the goto action points to.
Definition at line 122 of file action.cpp.
| QString GotoAction::fileName | ( | ) | const |
Returns the filename of the external document.
Definition at line 116 of file action.cpp.
| bool GotoAction::isExternal | ( | ) | const |
Returns whether the goto action points to an external document.
Definition at line 110 of file action.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from