TreeFrogFramework  1.18
Public Member Functions | Protected Slots | Friends | List of all members
TBackgroundProcessHandler Class Referenceabstract

#include <tbackgroundprocesshandler.h>

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

Public Member Functions

 TBackgroundProcessHandler (QObject *parent=nullptr)
 
virtual ~TBackgroundProcessHandler ()
 
bool autoDelete () const
 
void setAutoDelete (bool autoDelete)
 
TBackgroundProcessbackgroundProcess () const
 
- Public Member Functions inherited from TDatabaseContext
 TDatabaseContext ()
 
virtual ~TDatabaseContext ()
 
QSqlDatabase & getSqlDatabase (int id)
 
TKvsDatabase & getKvsDatabase (TKvsDatabase::Type type)
 
void setTransactionEnabled (bool enable)
 
void release ()
 
bool beginTransaction (QSqlDatabase &database)
 
void commitTransactions ()
 
void rollbackTransactions ()
 
int idleTime () const
 

Protected Slots

virtual void handleFinished (int exitCode, QProcess::ExitStatus exitStatus)=0
 
virtual void handleReadyReadStandardError ()
 
virtual void handleReadyReadStandardOutput ()
 
virtual void handleStarted ()
 
virtual void handleStateChanged (QProcess::ProcessState)
 
void deleteAutoDeleteHandler ()
 

Friends

class TBackgroundProcess
 

Additional Inherited Members

- Protected Member Functions inherited from TDatabaseContext
void releaseKvsDatabases ()
 
void releaseSqlDatabases ()
 
- Protected Attributes inherited from TDatabaseContext
QMap< int, QSqlDatabase > sqlDatabases
 
QMap< int, TKvsDatabase > kvsDatabases
 

Detailed Description

The TBackgroundProcessHandler class is used to handle events of a backgound process.

Constructor & Destructor Documentation

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

Member Function Documentation

bool TBackgroundProcessHandler::autoDelete ( ) const
TBackgroundProcess* TBackgroundProcessHandler::backgroundProcess ( ) const
inline
void TBackgroundProcessHandler::deleteAutoDeleteHandler ( )
protectedslot
virtual void TBackgroundProcessHandler::handleFinished ( int  exitCode,
QProcess::ExitStatus  exitStatus 
)
protectedpure virtualslot
virtual void TBackgroundProcessHandler::handleReadyReadStandardError ( )
inlineprotectedvirtualslot
virtual void TBackgroundProcessHandler::handleReadyReadStandardOutput ( )
inlineprotectedvirtualslot
virtual void TBackgroundProcessHandler::handleStarted ( )
inlineprotectedvirtualslot
virtual void TBackgroundProcessHandler::handleStateChanged ( QProcess::ProcessState  )
inlineprotectedvirtualslot
void TBackgroundProcessHandler::setAutoDelete ( bool  autoDelete)

Friends And Related Function Documentation

friend class TBackgroundProcess
friend

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