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

#include <KvsObject_memoryBuffer.h>

+ Inheritance diagram for KvsObject_memoryBuffer:

Public Member Functions

bool clear (KviKvsObjectFunctionCall *c)
 
QByteArray dataBuffer ()
 
bool loadFromFile (KviKvsObjectFunctionCall *c)
 
QByteArray * pBuffer ()
 
bool readByteAt (KviKvsObjectFunctionCall *c)
 
bool saveToFile (KviKvsObjectFunctionCall *c)
 
bool size (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, KviKvsVariantList *pParams=0)
 
bool callFunction (KviKvsObject *pCaller, const QString &fncName, KviKvsVariant *pRetVal, KviKvsVariantList *pParams=0)
 
bool connectSignal (const QString &sigName, KviKvsObject *target, const QString &slotName)
 
KviKvsHashdataContainer ()
 
bool die ()
 
bool dieNow ()
 
bool disconnectSignal (const QString &sigName, KviKvsObjectConnection *con)
 
bool disconnectSignal (const QString &sigName, KviKvsObject *target, const QString &slotName)
 
int emitSignal (const QString &sigName, KviKvsObjectFunctionCall *pOuterCall, KviKvsVariantList *pParams=0)
 
KviKvsObjectfindChild (const QString &szClass, const QString &szName)
 
KviPointerHashTable< QString,
KviKvsObjectFunctionHandler > * 
functionHandlers ()
 
KviKvsObjectClassgetClass (const QString &classOverride=QString())
 
KviKvsObjectClassgetExactClass ()
 
const QString & getName ()
 
kvs_hobject_t handle ()
 
bool inheritsClass (KviKvsObjectClass *pClass)
 
bool inheritsClass (const QString &szClass)
 
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 ()
 
virtual ~KviKvsObject ()
 

Protected Attributes

QByteArray * m_pBuffer
 
int mIdx
 
- Protected Attributes inherited from KviKvsObject
bool m_bAboutToDie
 
bool m_bDestructorCalled
 
bool m_bInDelayedDeath
 
bool m_bObjectOwner
 
kvs_hobject_t m_hObject
 
kvs_hobject_t m_hSignalSender
 
KviPointerList< KviKvsObject > * m_pChildList
 
KviKvsObjectClassm_pClass
 
KviKvsObjectConnectionListm_pConnectionList
 
KviKvsHashm_pDataContainer
 
KviPointerHashTable< QString,
KviKvsObjectFunctionHandler > * 
m_pFunctionHandlers
 
QObject * m_pObject
 
KviPointerHashTable< QString,
KviKvsObjectConnectionList > * 
m_pSignalDict
 
QString m_szName
 
QString m_szSignalName
 

Additional Inherited Members

- Protected Slots inherited from KviKvsObject
void delayedDie ()
 
void objectDestroyed ()
 
- Protected Member Functions inherited from KviKvsObject
virtual bool eventFilter (QObject *o, QEvent *e)
 
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)
 
virtual void timerEvent (QTimerEvent *e)
 
void unregisterChild (KviKvsObject *c)
 
bool unregisterConnection (KviKvsObjectConnection *con)
 

Member Function Documentation

bool KvsObject_memoryBuffer::clear ( KviKvsObjectFunctionCall c)
QByteArray KvsObject_memoryBuffer::dataBuffer ( )
inline

References m_pBuffer.

bool KvsObject_memoryBuffer::loadFromFile ( KviKvsObjectFunctionCall c)
QByteArray* KvsObject_memoryBuffer::pBuffer ( )
inline

References m_pBuffer.

bool KvsObject_memoryBuffer::readByteAt ( KviKvsObjectFunctionCall c)
bool KvsObject_memoryBuffer::saveToFile ( KviKvsObjectFunctionCall c)
bool KvsObject_memoryBuffer::size ( KviKvsObjectFunctionCall c)

Member Data Documentation

QByteArray* KvsObject_memoryBuffer::m_pBuffer
protected

Referenced by dataBuffer(), and pBuffer().

int KvsObject_memoryBuffer::mIdx
protected

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