• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdegraphics
  • Sitemap
  • Contact Us
 

okular

Okular::GotoAction

Okular::GotoAction Class Reference

#include <action.h>

Inheritance diagram for Okular::GotoAction:

Inheritance graph
[legend]

List of all members.


Detailed Description

The Goto action changes the viewport to another page or loads an external document.

Definition at line 86 of file action.h.


Public Member Functions

 GotoAction (const QString &fileName, const DocumentViewport &viewport)
virtual ~GotoAction ()
ActionType actionType () const
QString actionTip () const
bool isExternal () const
QString fileName () const
DocumentViewport destViewport () const

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 62 of file action.cpp.

GotoAction::~GotoAction (  )  [virtual]

Destroys the goto action.

Definition at line 67 of file action.cpp.


Member Function Documentation

Action::ActionType GotoAction::actionType (  )  const [virtual]

Returns the action type.

Implements Okular::Action.

Definition at line 71 of file action.cpp.

QString GotoAction::actionTip (  )  const [virtual]

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 76 of file action.cpp.

bool GotoAction::isExternal (  )  const

Returns whether the goto action points to an external document.

Definition at line 83 of file action.cpp.

QString GotoAction::fileName (  )  const

Returns the filename of the external document.

Definition at line 89 of file action.cpp.

DocumentViewport GotoAction::destViewport (  )  const

Returns the document viewport the goto action points to.

Definition at line 95 of file action.cpp.


The documentation for this class was generated from the following files:
  • action.h
  • action.cpp

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdegraphics

Skip menu "kdegraphics"
  • okular
Generated for kdegraphics by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal