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

okular

  • Okular
  • GotoAction
Public Member Functions | List of all members
Okular::GotoAction Class Reference

#include <action.h>

Inheritance diagram for Okular::GotoAction:
Inheritance graph
[legend]

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.

Definition at line 115 of file action.h.

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.

GotoAction::~GotoAction ( )
virtual

Destroys the goto action.

Definition at line 94 of file action.cpp.

Member Function Documentation

QString GotoAction::actionTip ( ) const
virtual

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 103 of file action.cpp.

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

Returns the action type.

Implements Okular::Action.

Definition at line 98 of file action.cpp.

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:
  • action.h
  • action.cpp
This file is part of the KDE documentation.
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.

okular

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

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal