QtlMovie 1.12 (A specialized FFmpeg front-end)
QtlProcess Class Reference

A subclass of QProcess with additional features. More...

Inheritance diagram for QtlProcess:

Public Member Functions

 QtlProcess (QObject *parent=0)
 Constructor. More...
 
Qtl::ProcessPriority priority () const
 Get the process priority. More...
 
void setPriority (Qtl::ProcessPriority priority)
 Set the process priority. More...
 

Protected Member Functions

virtual void setupChildProcess ()
 Reimplemented from QProcess. More...
 

Private Attributes

Qtl::ProcessPriority _priority
 Priority of the created process. More...
 

Detailed Description

A subclass of QProcess with additional features.

Constructor & Destructor Documentation

◆ QtlProcess()

QtlProcess::QtlProcess ( QObject *  parent = 0)

Constructor.

Parameters
[in]parentOptional parent object.

Member Function Documentation

◆ priority()

Qtl::ProcessPriority QtlProcess::priority ( ) const
inline

Get the process priority.

Returns
The process priority.

◆ setPriority()

void QtlProcess::setPriority ( Qtl::ProcessPriority  priority)

Set the process priority.

Must be called before start(), ignored otherwise. Special privileges may be required to set Qtl::HighPriority and Qtl::VeryHighPriority.

Parameters
[in]priorityRequested priority.

◆ setupChildProcess()

void QtlProcess::setupChildProcess ( )
protectedvirtual

Reimplemented from QProcess.

This function is called in the child process context just before the program is executed on Unix or OS X (i.e., after fork(), but before execve()). Reimplement this function to do last minute initialization of the child process.

Member Data Documentation

◆ _priority

Qtl::ProcessPriority QtlProcess::_priority
private

Priority of the created process.


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