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 ()
 
const void * nativeHandle () const
 
OKULARCORE_DEPRECATED QVariant nativeId () const
 
QVector< Action * > nextActions () const
 
void setNativeHandle (std::shared_ptr< const void > handle)
 
OKULARCORE_DEPRECATED 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 216 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 180 of file action.cpp.

◆ ~ExecuteAction()

ExecuteAction::~ExecuteAction ( )
override

Destroys the execute action.

Definition at line 185 of file action.cpp.

Member Function Documentation

◆ actionTip()

QString ExecuteAction::actionTip ( ) const
overridevirtual

Returns the action tip.

Reimplemented from Okular::Action.

Definition at line 194 of file action.cpp.

◆ actionType()

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

Returns the action type.

Implements Okular::Action.

Definition at line 189 of file action.cpp.

◆ fileName()

QString ExecuteAction::fileName ( ) const

Returns the file name of the application to execute.

Definition at line 200 of file action.cpp.

◆ parameters()

QString ExecuteAction::parameters ( ) const

Returns the parameters of the application to execute.

Definition at line 206 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 Sat Dec 21 2024 16:58:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.