TreeFrogFramework  1.18
Public Member Functions | Protected Slots | List of all members
TBackgroundProcess Class Reference

#include <tbackgroundprocess.h>

Inheritance diagram for TBackgroundProcess:
Inheritance graph
[legend]
Collaboration diagram for TBackgroundProcess:
Collaboration graph
[legend]

Public Member Functions

 TBackgroundProcess (QObject *parent=nullptr)
 
virtual ~TBackgroundProcess ()
 
void start (const QString &program, const QStringList &arguments, OpenMode mode=ReadWrite, TBackgroundProcessHandler *handler=nullptr)
 
void start (const QString &command, OpenMode mode=ReadWrite, TBackgroundProcessHandler *handler=nullptr)
 
void start (OpenMode mode=ReadWrite, TBackgroundProcessHandler *handler=nullptr)
 
bool autoDelete () const
 
void setAutoDelete (bool autoDelete)
 

Protected Slots

void callStart (const QString &program, const QStringList &arguments, int mode)
 
void handleFinished ()
 

Detailed Description

The TBackgroundProcess class is used to start external programs in background.

Constructor & Destructor Documentation

TBackgroundProcess::TBackgroundProcess ( QObject *  parent = nullptr)
virtual TBackgroundProcess::~TBackgroundProcess ( )
inlinevirtual

Member Function Documentation

bool TBackgroundProcess::autoDelete ( ) const
void TBackgroundProcess::callStart ( const QString &  program,
const QStringList &  arguments,
int  mode 
)
protectedslot
void TBackgroundProcess::handleFinished ( )
protectedslot
void TBackgroundProcess::setAutoDelete ( bool  autoDelete)
void TBackgroundProcess::start ( const QString &  program,
const QStringList &  arguments,
OpenMode  mode = ReadWrite,
TBackgroundProcessHandler handler = nullptr 
)
void TBackgroundProcess::start ( const QString &  command,
OpenMode  mode = ReadWrite,
TBackgroundProcessHandler handler = nullptr 
)
void TBackgroundProcess::start ( OpenMode  mode = ReadWrite,
TBackgroundProcessHandler handler = nullptr 
)

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