Poppler Qt5 25.12.90
Poppler::LinkExecute Class Reference

#include <poppler-link.h>

Inheritance diagram for Poppler::LinkExecute:
Collaboration diagram for Poppler::LinkExecute:

Public Member Functions

QString fileName () const
 LinkExecute (const QRectF &linkArea, const QString &file, const QString &params)
LinkType linkType () const override
QString parameters () const
 ~LinkExecute () override

Additional Inherited Members

Detailed Description

Generic execution request.

The LinkExecute link represent a "file name" execution request. The result depends on the file name:

  • if it is a document, then it is requested to be open
  • otherwise, it represents an executable to be run with the specified parameters

Constructor & Destructor Documentation

◆ LinkExecute()

Poppler::LinkExecute::LinkExecute ( const QRectF & linkArea,
const QString & file,
const QString & params )

Create a new Execute link.

Parameters
linkAreathe active area of the link
filethe file name to be open, or the program to be execute
paramsthe parameters for the program to execute

References Poppler::Link::linkArea().

Referenced by linkType().

Member Function Documentation

◆ linkType()

LinkType Poppler::LinkExecute::linkType ( ) const
overridevirtual

The type of this link.

Reimplemented from Poppler::Link.

References LinkExecute().


The documentation for this class was generated from the following file: