itom
Loading...
Searching...
No Matches
ito::ProcessOrganizer Class Reference
Inheritance diagram for ito::ProcessOrganizer:

Public Slots

void processFinished (int, QProcess::ExitStatus)
 shortdesc
 
void processError (QProcess::ProcessError)
 shortdesc
 
void readyReadStandardOutput ()
 shortdesc
 

Public Member Functions

QMultiHash< QString, QPair< QProcess *, bool > > getProcesses ()
 
QProcess * getFirstExistingProcess (const QString &name)
 shortdesc
 
QProcess * getProcess (const QString &name, bool tryToUseExistingProcess, bool &existingProcess, bool closeOnFinalize=false)
 shortdesc
 
QByteArray getStandardOutputBuffer (const QString &processKey) const
 
void clearStandardOutputBuffer (const QString &processKey)
 
bool bringWindowsOnTop (const QString &windowName)
 shortdesc
 

Static Public Member Functions

static QString getAbsQtToolPath (const QString &binaryName, bool *found=NULL)
 shortdesc
 

Protected Member Functions

RetVal collectGarbage (bool forceToCloseAll=false)
 shortdesc
 

Private Attributes

QMultiHash< QString, QPair< QProcess *, bool > > m_processes
 
QMap< QString, QByteArray > m_processStdOut
 

Member Function Documentation

◆ bringWindowsOnTop()

bool ito::ProcessOrganizer::bringWindowsOnTop ( const QString & windowName)

shortdesc

longdesc

Parameters
windowName
Returns
bool

◆ collectGarbage()

RetVal ito::ProcessOrganizer::collectGarbage ( bool forceToCloseAll = false)
protected

shortdesc

longdesc

Parameters
forceToCloseAll
Returns
RetVal

◆ getAbsQtToolPath()

QString ito::ProcessOrganizer::getAbsQtToolPath ( const QString & binaryName,
bool * found = NULL )
static

shortdesc

longdesc

Parameters
binaryName
Returns
QString

◆ getFirstExistingProcess()

QProcess * ito::ProcessOrganizer::getFirstExistingProcess ( const QString & name)

shortdesc

longdesc

Parameters
name
Returns
QProcess

◆ getProcess()

QProcess * ito::ProcessOrganizer::getProcess ( const QString & name,
bool tryToUseExistingProcess,
bool & existingProcess,
bool closeOnFinalize = false )

shortdesc

longdesc

Parameters
name
tryToUseExistingProcess
existingProcess
closeOnFinalize
Returns
QProcess

◆ processError

void ito::ProcessOrganizer::processError ( QProcess::ProcessError )
slot

shortdesc

longdesc

Parameters
error

◆ processFinished

void ito::ProcessOrganizer::processFinished ( int ,
QProcess::ExitStatus  )
slot

shortdesc

longdesc

Parameters
exitCode
exitStatus

◆ readyReadStandardOutput

void ito::ProcessOrganizer::readyReadStandardOutput ( )
slot

shortdesc

longdesc


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