KVIrc 5.2.0
Developer APIs
Public Member Functions | Protected Slots | Protected Attributes | Private Attributes | List of all members
KvsObject_process Class Reference

#include <KvsObject_process.h>

+ Inheritance diagram for KvsObject_process:

Public Member Functions

bool addArgument (KviKvsObjectFunctionCall *c)
 
bool closekill (KviKvsObjectFunctionCall *c)
 
bool closeStdin (KviKvsObjectFunctionCall *c)
 
bool isRunning (KviKvsObjectFunctionCall *c)
 
bool kill (KviKvsObjectFunctionCall *c)
 
bool normalExit (KviKvsObjectFunctionCall *c)
 
bool readStderr (KviKvsObjectFunctionCall *c)
 
bool readStdout (KviKvsObjectFunctionCall *c)
 
bool readyReadStderrEvent (KviKvsObjectFunctionCall *c)
 
bool readyReadStdoutEvent (KviKvsObjectFunctionCall *c)
 
bool startProcess (KviKvsObjectFunctionCall *c)
 
bool tryTerminate (KviKvsObjectFunctionCall *c)
 
bool writeToStdin (KviKvsObjectFunctionCall *c)
 
- Public Member Functions inherited from KviKvsObject
bool callFunction (KviKvsObject *pCaller, const QString &fncName, const QString &classOverride, KviKvsRunTimeContext *pContext, KviKvsVariant *pRetVal, KviKvsVariantList *pParams)
 
bool callFunction (KviKvsObject *pCaller, const QString &fncName, KviKvsVariant *pRetVal, KviKvsVariantList *pParams=nullptr)
 
bool callFunction (KviKvsObject *pCaller, const QString &fncName, KviKvsVariantList *pParams=nullptr)
 
bool connectSignal (const QString &sigName, KviKvsObject *target, const QString &slotName)
 
KviKvsHashdataContainer ()
 
bool die ()
 
bool dieNow ()
 
bool disconnectSignal (const QString &sigName, KviKvsObject *target, const QString &slotName)
 
bool disconnectSignal (const QString &sigName, KviKvsObjectConnection *con)
 
int emitSignal (const QString &sigName, KviKvsObjectFunctionCall *pOuterCall, KviKvsVariantList *pParams=nullptr)
 
KviKvsObjectfindChild (const QString &szClass, const QString &szName)
 
KviPointerHashTable< QString, KviKvsObjectFunctionHandler > * functionHandlers ()
 
KviKvsObjectClassgetClass (const QString &classOverride=QString())
 
KviKvsObjectClassgetExactClass ()
 
const QString & getName () const
 
kvs_hobject_t handle ()
 
bool inheritsClass (const QString &szClass)
 
bool inheritsClass (KviKvsObjectClass *pClass)
 
void killAllChildrenWithClass (KviKvsObjectClass *cl)
 
 KviKvsObject (KviKvsObjectClass *pClass, KviKvsObject *pParent, const QString &szName)
 
KviKvsObjectFunctionHandlerlookupFunctionHandler (const QString &funcName, const QString &classOverride=QString())
 
QObject * object () const
 
KviKvsObjectparentObject ()
 
QWidget * parentScriptWidget ()
 
void registerPrivateImplementation (const QString &szFunctionName, const QString &szCode)
 
void setObject (QObject *o, bool bIsOwned=true)
 
void setSignalName (const QString &szSigName)
 
void setSignalSender (kvs_hobject_t hObject)
 
kvs_hobject_t signalSender ()
 
 ~KviKvsObject ()
 

Protected Slots

void slotReadStderr ()
 
void slotReadStdout ()
 
- Protected Slots inherited from KviKvsObject
void delayedDie ()
 
void objectDestroyed ()
 

Protected Attributes

QProcess * m_pProcess
 
- Protected Attributes inherited from KviKvsObject
bool m_bAboutToDie = false
 
bool m_bDestructorCalled = false
 
bool m_bInDelayedDeath = false
 
bool m_bObjectOwner = true
 
kvs_hobject_t m_hObject
 
kvs_hobject_t m_hSignalSender
 
KviPointerList< KviKvsObject > * m_pChildList = nullptr
 
KviKvsObjectClassm_pClass = nullptr
 
KviKvsObjectConnectionListm_pConnectionList = nullptr
 
KviKvsHashm_pDataContainer = nullptr
 
KviPointerHashTable< QString, KviKvsObjectFunctionHandler > * m_pFunctionHandlers = nullptr
 
QObject * m_pObject = nullptr
 
KviPointerHashTable< QString, KviKvsObjectConnectionList > * m_pSignalDict = nullptr
 
QString m_szName
 
QString m_szSignalName
 

Private Attributes

QStringList m_szArgs
 

Additional Inherited Members

- Protected Member Functions inherited from KviKvsObject
bool eventFilter (QObject *o, QEvent *e) override
 
bool function_childCount (KviKvsObjectFunctionCall *c)
 
bool function_children (KviKvsObjectFunctionCall *c)
 
bool function_className (KviKvsObjectFunctionCall *c)
 
bool function_destructor (KviKvsObjectFunctionCall *c)
 
bool function_emit (KviKvsObjectFunctionCall *c)
 
bool function_findChild (KviKvsObjectFunctionCall *c)
 
bool function_killTimer (KviKvsObjectFunctionCall *c)
 
bool function_listProperties (KviKvsObjectFunctionCall *c)
 
bool function_name (KviKvsObjectFunctionCall *c)
 
bool function_parent (KviKvsObjectFunctionCall *c)
 
bool function_property (KviKvsObjectFunctionCall *c)
 
bool function_setProperty (KviKvsObjectFunctionCall *c)
 
bool function_signalName (KviKvsObjectFunctionCall *c)
 
bool function_signalSender (KviKvsObjectFunctionCall *c)
 
bool function_startTimer (KviKvsObjectFunctionCall *c)
 
virtual bool init (KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams)
 
void registerChild (KviKvsObject *c)
 
void registerConnection (KviKvsObjectConnection *con)
 
void timerEvent (QTimerEvent *e) override
 
void unregisterChild (KviKvsObject *c)
 
bool unregisterConnection (KviKvsObjectConnection *con)
 

Member Function Documentation

◆ addArgument()

bool KvsObject_process::addArgument ( KviKvsObjectFunctionCall c)

◆ closekill()

bool KvsObject_process::closekill ( KviKvsObjectFunctionCall c)

◆ closeStdin()

bool KvsObject_process::closeStdin ( KviKvsObjectFunctionCall c)

◆ isRunning()

bool KvsObject_process::isRunning ( KviKvsObjectFunctionCall c)

◆ kill()

bool KvsObject_process::kill ( KviKvsObjectFunctionCall c)

◆ normalExit()

bool KvsObject_process::normalExit ( KviKvsObjectFunctionCall c)

◆ readStderr()

bool KvsObject_process::readStderr ( KviKvsObjectFunctionCall c)

◆ readStdout()

bool KvsObject_process::readStdout ( KviKvsObjectFunctionCall c)

◆ readyReadStderrEvent()

bool KvsObject_process::readyReadStderrEvent ( KviKvsObjectFunctionCall c)

◆ readyReadStdoutEvent()

bool KvsObject_process::readyReadStdoutEvent ( KviKvsObjectFunctionCall c)

◆ slotReadStderr

void KvsObject_process::slotReadStderr ( )
protectedslot

◆ slotReadStdout

void KvsObject_process::slotReadStdout ( )
protectedslot

◆ startProcess()

bool KvsObject_process::startProcess ( KviKvsObjectFunctionCall c)

◆ tryTerminate()

bool KvsObject_process::tryTerminate ( KviKvsObjectFunctionCall c)

◆ writeToStdin()

bool KvsObject_process::writeToStdin ( KviKvsObjectFunctionCall c)

Member Data Documentation

◆ m_pProcess

QProcess* KvsObject_process::m_pProcess
protected

◆ m_szArgs

QStringList KvsObject_process::m_szArgs
private

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