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

okular

Okular::DocumentAction

Okular::DocumentAction Class Reference

#include <action.h>

Inheritance diagram for Okular::DocumentAction:

Inheritance graph
[legend]

List of all members.


Detailed Description

The DocumentAction action contains an action that is performed on the current document.

Definition at line 219 of file action.h.


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
}

Public Member Functions

 DocumentAction (enum DocumentActionType documentActionType)
virtual ~DocumentAction ()
ActionType actionType () const
QString actionTip () const
DocumentActionType documentActionType () const

Member Enumeration Documentation

enum Okular::DocumentAction::DocumentActionType

Describes the possible action types.

WARNING KEEP IN SYNC WITH POPPLER!

Enumerator:
PageFirst  Jump to first page.
PagePrev  Jump to previous page.
PageNext  Jump to next page.
PageLast  Jump to last page.
HistoryBack  Go back in page history.
HistoryForward  Go forward in page history.
Quit  Quit application.
Presentation  Start presentation.
EndPresentation  End presentation.
Find  Open find dialog.
GoToPage  Goto page.
Close  Close document.

Definition at line 227 of file action.h.


Constructor & Destructor Documentation

DocumentAction::DocumentAction ( enum DocumentActionType  documentActionType  )  [explicit]

Creates a new document action.

Parameters:
documentActionType The type of document action.

Definition at line 199 of file action.cpp.

DocumentAction::~DocumentAction (  )  [virtual]

Destroys the document action.

Definition at line 204 of file action.cpp.


Member Function Documentation

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

Returns the action type.

Implements Okular::Action.

Definition at line 214 of file action.cpp.

QString DocumentAction::actionTip (  )  const [virtual]

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 219 of file action.cpp.

DocumentAction::DocumentActionType DocumentAction::documentActionType (  )  const

Returns the type of action.

Definition at line 208 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