Okular::ExecuteAction

Search for usage in LXR

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 193 of file action.h.

Constructor & Destructor Documentation

◆ ExecuteAction()

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

◆ ~ExecuteAction()

ExecuteAction::~ExecuteAction ( )
override

Destroys the execute action.

Definition at line 173 of file action.cpp.

Member Function Documentation

◆ actionTip()

QString ExecuteAction::actionTip ( ) const
overridevirtual

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 182 of file action.cpp.

◆ actionType()

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

Returns the action type.

Implements Okular::Action.

Definition at line 177 of file action.cpp.

◆ fileName()

QString ExecuteAction::fileName ( ) const

Returns the file name of the application to execute.

Definition at line 188 of file action.cpp.

◆ parameters()

QString ExecuteAction::parameters ( ) const

Returns the parameters of the application to execute.

Definition at line 194 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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:35 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.