![]() |
KVIrc 5.2.4
Developer APIs
|
#include <KviKvsTreeNodeSpecialCommandDefpopup.h>
Public Member Functions | |
void | addLabel (KviKvsTreeNodeSpecialCommandDefpopupLabel *pLabel) |
virtual void | contextDescription (QString &szBuffer) |
Sets the buffer. | |
virtual void | dump (const char *prefix) |
Dumps the tree. | |
virtual bool | execute (KviKvsRunTimeContext *c, KviKvsPopupMenu *p) |
bool | fill (KviKvsRunTimeContext *c, KviKvsPopupMenu *p) |
bool | isEmpty () |
KviKvsTreeNodeSpecialCommandDefpopupLabelPopup (const QChar *pLocation) | |
~KviKvsTreeNodeSpecialCommandDefpopupLabelPopup () | |
![]() | |
KviKvsTreeNodeSpecialCommandDefpopupConditionalLabelWithTextAndIcon (const QChar *pLocation, const QString &szCondition, const QString &szText, const QString &szIcon, const QString &szItemName) | |
void | setIcon (const QString &szIcon) |
void | setText (const QString &szText) |
~KviKvsTreeNodeSpecialCommandDefpopupConditionalLabelWithTextAndIcon () | |
![]() | |
KviKvsTreeNodeSpecialCommandDefpopupConditionalLabel (const QChar *pLocation, const QString &szCondition, const QString &szItemName) | |
void | setCondition (const QString &szCondition) |
~KviKvsTreeNodeSpecialCommandDefpopupConditionalLabel () | |
![]() | |
KviKvsTreeNodeSpecialCommandDefpopupLabel (const QChar *pLocation, const QString &szItemName) | |
void | setItemName (const QString &szItemName) |
~KviKvsTreeNodeSpecialCommandDefpopupLabel () | |
![]() | |
KviKvsTreeNode (const QChar *pLocation) | |
Constructs the treenode object. | |
const QChar * | location () |
Returns the location char. | |
KviKvsTreeNode * | parent () |
Returns the parent object. | |
void | setParent (KviKvsTreeNode *p) |
Sets the parent object. | |
virtual | ~KviKvsTreeNode () |
Destroys the treenode object. | |
Protected Attributes | |
KviPointerList< KviKvsTreeNodeSpecialCommandDefpopupLabel > * | m_pLabels |
![]() | |
QString | m_szIcon |
QString | m_szText |
![]() | |
QString | m_szCondition |
![]() | |
const QChar * | m_pLocation |
KviKvsTreeNode * | m_pParent |
Additional Inherited Members | |
![]() | |
QString | m_szItemName |
![]() | |
void | setLocation (const QChar *pLocation) |
Sets the location char. | |
KviKvsTreeNodeSpecialCommandDefpopupLabelPopup::KviKvsTreeNodeSpecialCommandDefpopupLabelPopup | ( | const QChar * | pLocation | ) |
References m_pLabels, and KviPointerList< T >::setAutoDelete().
KviKvsTreeNodeSpecialCommandDefpopupLabelPopup::~KviKvsTreeNodeSpecialCommandDefpopupLabelPopup | ( | ) |
References m_pLabels.
void KviKvsTreeNodeSpecialCommandDefpopupLabelPopup::addLabel | ( | KviKvsTreeNodeSpecialCommandDefpopupLabel * | pLabel | ) |
References KviPointerList< T >::append(), m_pLabels, and KviKvsTreeNode::setParent().
|
virtual |
Sets the buffer.
szBuffer | The buffer :) |
Implements KviKvsTreeNode.
References szBuffer.
|
virtual |
Dumps the tree.
prefix | The prefix of the instruction |
Implements KviKvsTreeNode.
References KviPointerList< T >::first(), l, m_pLabels, KviKvsTreeNodeSpecialCommandDefpopupConditionalLabel::m_szCondition, KviKvsTreeNodeSpecialCommandDefpopupConditionalLabelWithTextAndIcon::m_szIcon, KviKvsTreeNodeSpecialCommandDefpopupConditionalLabelWithTextAndIcon::m_szText, KviPointerList< T >::next(), and x.
Referenced by KviKvsTreeNodeSpecialCommandDefpopup::dump().
|
virtual |
Implements KviKvsTreeNodeSpecialCommandDefpopupLabel.
References KviKvsPopupMenu::addPopup(), fill(), KviKvsPopupMenu::findChildPopupByName(), KviKvsTreeNodeSpecialCommandDefpopupConditionalLabel::m_szCondition, KviKvsTreeNodeSpecialCommandDefpopupConditionalLabelWithTextAndIcon::m_szIcon, KviKvsTreeNodeSpecialCommandDefpopupLabel::m_szItemName, KviKvsTreeNodeSpecialCommandDefpopupConditionalLabelWithTextAndIcon::m_szText, and p.
bool KviKvsTreeNodeSpecialCommandDefpopupLabelPopup::fill | ( | KviKvsRunTimeContext * | c, |
KviKvsPopupMenu * | p | ||
) |
References KviPointerList< T >::first(), l, m_pLabels, KviPointerList< T >::next(), and p.
Referenced by KviKvsTreeNodeSpecialCommandDefpopup::execute(), and execute().
|
inline |
References KviPointerList< T >::isEmpty().
Referenced by KviKvsTreeNodeSpecialCommandDefpopup::execute().
|
protected |