TDE 0.1.0
 
Loading...
Searching...
No Matches
tde::app::Launcher Class Reference

Application launcher. More...

#include <launcher.hpp>

Inheritance diagram for tde::app::Launcher:

Public Slots

void on_request_launch_app (const Info &app)
 Launch the application.
 

Signals

void before_app_start (const Info &app)
 Emitted before the application is launched.
 
void after_app_finish (int code, QProcess::ExitStatus status)
 Emitted after the application is finished.
 

Public Member Functions

 Launcher (QObject *parent=nullptr)
 Construct a new Launcher object.
 
void launch (const Info &app)
 Launch the application.
 

Detailed Description

Application launcher.

Constructor & Destructor Documentation

◆ Launcher()

tde::app::Launcher::Launcher ( QObject *  parent = nullptr)
inlineexplicit

Construct a new Launcher object.

Parameters
parentParent object.

Member Function Documentation

◆ after_app_finish

void tde::app::Launcher::after_app_finish ( int  code,
QProcess::ExitStatus  status 
)
signal

Emitted after the application is finished.

Parameters
codeExit code.
statusExit status.

◆ before_app_start

void tde::app::Launcher::before_app_start ( const Info app)
signal

Emitted before the application is launched.

Parameters
appApplication info.

◆ launch()

void tde::app::Launcher::launch ( const Info app)

Launch the application.

Parameters
appApplication info.

◆ on_request_launch_app

void tde::app::Launcher::on_request_launch_app ( const Info app)
slot

Launch the application.

Parameters
appApplication info.

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