KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
KviKvsScriptEventHandler Class Reference

#include <KviKvsEventHandler.h>

+ Inheritance diagram for KviKvsScriptEventHandler:

Public Member Functions

const QString & code ()
 
bool isEnabled ()
 
 KviKvsScriptEventHandler (const QString &szHandlerName, const QString &szContextName, const QString &szCode, bool bEnabled=true)
 
const QString & name ()
 
KviKvsScriptscript ()
 
void setEnabled (bool bEnabled)
 
virtual ~KviKvsScriptEventHandler ()
 
- Public Member Functions inherited from KviKvsEventHandler
 KviKvsEventHandler (Type t)
 
Type type ()
 
virtual ~KviKvsEventHandler ()
 

Static Public Member Functions

static KviKvsScriptEventHandlercreateInstance (const QString &szHandlerName, const QString &szContextName, const QString &szCode, bool bEnabled=true)
 

Protected Attributes

bool m_bEnabled
 
KviKvsScriptm_pScript
 
QString m_szName
 
- Protected Attributes inherited from KviKvsEventHandler
Type m_type
 

Additional Inherited Members

- Public Types inherited from KviKvsEventHandler
enum  Type { Script, Module }
 

Constructor & Destructor Documentation

KviKvsScriptEventHandler::KviKvsScriptEventHandler ( const QString &  szHandlerName,
const QString &  szContextName,
const QString &  szCode,
bool  bEnabled = true 
)

References m_pScript.

Referenced by createInstance().

KviKvsScriptEventHandler::~KviKvsScriptEventHandler ( )
virtual

References m_pScript.

Member Function Documentation

const QString& KviKvsScriptEventHandler::code ( )
inline
KviKvsScriptEventHandler * KviKvsScriptEventHandler::createInstance ( const QString &  szHandlerName,
const QString &  szContextName,
const QString &  szCode,
bool  bEnabled = true 
)
static
bool KviKvsScriptEventHandler::isEnabled ( )
inline
const QString& KviKvsScriptEventHandler::name ( )
inline
KviKvsScript* KviKvsScriptEventHandler::script ( )
inline
void KviKvsScriptEventHandler::setEnabled ( bool  bEnabled)
inline

Member Data Documentation

bool KviKvsScriptEventHandler::m_bEnabled
protected
KviKvsScript* KviKvsScriptEventHandler::m_pScript
protected
QString KviKvsScriptEventHandler::m_szName
protected

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