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

okular

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

#include <action.h>

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

Public Member Functions

 ScriptAction (enum ScriptType type, const QString &script)
 
virtual ~ScriptAction ()
 
QString actionTip () const
 
ActionType actionType () const
 
QString script () const
 
ScriptType scriptType () 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 Script action executes a Script code.

Since
0.7 (KDE 4.1)

Definition at line 387 of file action.h.

Constructor & Destructor Documentation

ScriptAction::ScriptAction ( enum ScriptType  type,
const QString &  script 
)

Creates a new Script action.

Parameters
scriptThe code to execute.

Definition at line 378 of file action.cpp.

ScriptAction::~ScriptAction ( )
virtual

Destroys the browse action.

Definition at line 383 of file action.cpp.

Member Function Documentation

QString ScriptAction::actionTip ( ) const
virtual

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 392 of file action.cpp.

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

Returns the action type.

Implements Okular::Action.

Definition at line 387 of file action.cpp.

QString ScriptAction::script ( ) const

Returns the code.

Definition at line 410 of file action.cpp.

ScriptType ScriptAction::scriptType ( ) const

Returns the type of action.

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