Okular::ExecuteAction

Okular::ExecuteAction Class Reference

#include <action.h>

Inheritance diagram for Okular::ExecuteAction:

Public Member Functions

 ExecuteAction (const QString &fileName, const QString &parameters)
 
 ~ExecuteAction () override
 
QString actionTip () const override
 
ActionType actionType () const override
 
QString fileName () const
 
QString parameters () const
 
- Public Member Functions inherited from Okular::Action
virtual ~Action ()
 
QVariant nativeId () const
 
QVector< Action * > nextActions () const
 
void setNativeId (const QVariant &id)
 
void setNextActions (const QVector< Action * > &actions)
 

Additional Inherited Members

- Public Types inherited from Okular::Action
enum  ActionType {
  Goto, Execute, Browse, DocAction,
  Sound, Movie, Script, Rendition,
  BackendOpaque
}
 

Detailed Description

The Execute action executes an external application.

Definition at line 197 of file action.h.

Constructor & Destructor Documentation

ExecuteAction::ExecuteAction ( const QString fileName,
const QString parameters 
)

Creates a new execute action.

Parameters
fileNameThe file name of the application to execute.
parametersThe parameters of the application to execute.

Definition at line 166 of file action.cpp.

ExecuteAction::~ExecuteAction ( )
override

Destroys the execute action.

Definition at line 171 of file action.cpp.

Member Function Documentation

QString ExecuteAction::actionTip ( ) const
overridevirtual

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 180 of file action.cpp.

Action::ActionType ExecuteAction::actionType ( ) const
overridevirtual

Returns the action type.

Implements Okular::Action.

Definition at line 175 of file action.cpp.

QString ExecuteAction::fileName ( ) const

Returns the file name of the application to execute.

Definition at line 186 of file action.cpp.

QString ExecuteAction::parameters ( ) const

Returns the parameters of the application to execute.

Definition at line 192 of file action.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jun 2 2020 22:31:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.