KVIrc 5.2.6
Developer APIs
KvsObject_treeWidgetItem Class Reference

#include <KvsObject_treeWidgeteItem.h>

+ Inheritance diagram for KvsObject_treeWidgetItem:

Public Member Functions

void childDestroyed ()
 
- 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 ()
 

Static Public Member Functions

static kvs_hobject_t itemToHandle (QTreeWidgetItem *it)
 

Protected Member Functions

bool init (KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams) override
 
bool insertItem (KviKvsObjectFunctionCall *c)
 
bool isCheckable (KviKvsObjectFunctionCall *c)
 
bool isChecked (KviKvsObjectFunctionCall *c)
 
bool isEnabled (KviKvsObjectFunctionCall *c)
 
bool isItemEditable (KviKvsObjectFunctionCall *c)
 
bool isOpen (KviKvsObjectFunctionCall *c)
 
bool setCheckable (KviKvsObjectFunctionCall *c)
 
bool setChecked (KviKvsObjectFunctionCall *c)
 
bool setEnabled (KviKvsObjectFunctionCall *c)
 
bool setFlags (KviKvsObjectFunctionCall *c)
 
bool setItemEditable (KviKvsObjectFunctionCall *c)
 
bool setOpen (KviKvsObjectFunctionCall *c)
 
bool setPixmap (KviKvsObjectFunctionCall *c)
 
bool setText (KviKvsObjectFunctionCall *c)
 
bool text (KviKvsObjectFunctionCall *c)
 
- 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)
 
void registerChild (KviKvsObject *c)
 
void registerConnection (KviKvsObjectConnection *con)
 
void timerEvent (QTimerEvent *e) override
 
void unregisterChild (KviKvsObject *c)
 
bool unregisterConnection (KviKvsObjectConnection *con)
 

Protected Attributes

QTreeWidgetItem * m_pTreeWidgetItem
 
- 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
 

Additional Inherited Members

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

Member Function Documentation

◆ childDestroyed()

void KvsObject_treeWidgetItem::childDestroyed ( )

◆ init()

bool KvsObject_treeWidgetItem::init ( KviKvsRunTimeContext * pContext,
KviKvsVariantList * pParams )
overrideprotectedvirtual

Reimplemented from KviKvsObject.

References __tr2qs_ctx, and m_pTreeWidgetItem.

◆ insertItem()

bool KvsObject_treeWidgetItem::insertItem ( KviKvsObjectFunctionCall * c)
protected

◆ isCheckable()

bool KvsObject_treeWidgetItem::isCheckable ( KviKvsObjectFunctionCall * c)
protected

◆ isChecked()

bool KvsObject_treeWidgetItem::isChecked ( KviKvsObjectFunctionCall * c)
protected

◆ isEnabled()

bool KvsObject_treeWidgetItem::isEnabled ( KviKvsObjectFunctionCall * c)
protected

◆ isItemEditable()

bool KvsObject_treeWidgetItem::isItemEditable ( KviKvsObjectFunctionCall * c)
protected

◆ isOpen()

bool KvsObject_treeWidgetItem::isOpen ( KviKvsObjectFunctionCall * c)
protected

◆ itemToHandle()

◆ setCheckable()

bool KvsObject_treeWidgetItem::setCheckable ( KviKvsObjectFunctionCall * c)
protected

◆ setChecked()

bool KvsObject_treeWidgetItem::setChecked ( KviKvsObjectFunctionCall * c)
protected

◆ setEnabled()

bool KvsObject_treeWidgetItem::setEnabled ( KviKvsObjectFunctionCall * c)
protected

◆ setFlags()

bool KvsObject_treeWidgetItem::setFlags ( KviKvsObjectFunctionCall * c)
protected

◆ setItemEditable()

bool KvsObject_treeWidgetItem::setItemEditable ( KviKvsObjectFunctionCall * c)
protected

◆ setOpen()

bool KvsObject_treeWidgetItem::setOpen ( KviKvsObjectFunctionCall * c)
protected

◆ setPixmap()

bool KvsObject_treeWidgetItem::setPixmap ( KviKvsObjectFunctionCall * c)
protected

◆ setText()

bool KvsObject_treeWidgetItem::setText ( KviKvsObjectFunctionCall * c)
protected

◆ text()

bool KvsObject_treeWidgetItem::text ( KviKvsObjectFunctionCall * c)
protected

Member Data Documentation

◆ m_pTreeWidgetItem

QTreeWidgetItem* KvsObject_treeWidgetItem::m_pTreeWidgetItem
protected

Referenced by childDestroyed().


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