![]()  | 
  
    KVIrc
    4.9.2
    
   DeveloperAPIs 
   | 
 
Treenode alias simple command call class. More...
#include <KviKvsTreeNodeAliasSimpleCommand.h>
 Inheritance diagram for KviKvsTreeNodeAliasSimpleCommand:Public Member Functions | |
| virtual void | contextDescription (QString &szBuffer) | 
| Sets the buffer as Alias Simple Command.  More... | |
| virtual void | dump (const char *prefix) | 
| Dumps the tree.  More... | |
| virtual bool | execute (KviKvsRunTimeContext *c) | 
| Evaluates the command.  More... | |
| KviKvsTreeNodeAliasSimpleCommand (const QChar *pLocation, const QString &szCmdName, KviKvsTreeNodeDataList *pParams) | |
| Constructs the treenode alias simple command call object.  More... | |
| ~KviKvsTreeNodeAliasSimpleCommand () | |
| Destroys the treenode alias simple command call object.  More... | |
  Public Member Functions inherited from KviKvsTreeNodeSimpleCommand | |
| KviKvsTreeNodeSimpleCommand (const QChar *pLocation, const QString &szCmdName, KviKvsTreeNodeDataList *params) | |
| ~KviKvsTreeNodeSimpleCommand () | |
  Public Member Functions inherited from KviKvsTreeNodeCommandWithParameters | |
| void | dumpParameterList (const char *prefix) | 
| KviKvsTreeNodeCommandWithParameters (const QChar *pLocation, const QString &szCmdName, KviKvsTreeNodeDataList *params) | |
| KviKvsTreeNodeDataList * | params () | 
| ~KviKvsTreeNodeCommandWithParameters () | |
  Public Member Functions inherited from KviKvsTreeNodeCommand | |
| const QString & | commandName () | 
| void | dumpSwitchList (const char *prefix) | 
| KviKvsTreeNodeCommand (const QChar *pLocation, const QString &szCmdName) | |
| ~KviKvsTreeNodeCommand () | |
  Public Member Functions inherited from KviKvsTreeNodeInstruction | |
| KviKvsTreeNodeInstruction (const QChar *pLocation) | |
| Constructs the treenode instruction object.  More... | |
| ~KviKvsTreeNodeInstruction () | |
| Destroys the treenode instruction object.  More... | |
  Public Member Functions inherited from KviKvsTreeNode | |
| KviKvsTreeNode (const QChar *pLocation) | |
| Constructs the treenode object.  More... | |
| const QChar * | location () | 
| Returns the location char.  More... | |
| KviKvsTreeNode * | parent () | 
| Returns the parent object.  More... | |
| void | setParent (KviKvsTreeNode *p) | 
| Sets the parent object.  More... | |
| virtual | ~KviKvsTreeNode () | 
| Destroys the treenode object.  More... | |
Additional Inherited Members | |
  Protected Member Functions inherited from KviKvsTreeNodeCommand | |
| void | setSwitchList (KviKvsTreeNodeSwitchList *sw) | 
  Protected Member Functions inherited from KviKvsTreeNode | |
| void | setLocation (const QChar *pLocation) | 
| Sets the location char.  More... | |
  Protected Attributes inherited from KviKvsTreeNodeCommandWithParameters | |
| KviKvsTreeNodeDataList * | m_pParams | 
  Protected Attributes inherited from KviKvsTreeNodeCommand | |
| KviKvsTreeNodeSwitchList * | m_pSwitches | 
| QString | m_szCmdName | 
  Protected Attributes inherited from KviKvsTreeNode | |
| const QChar * | m_pLocation | 
| KviKvsTreeNode * | m_pParent | 
Treenode alias simple command call class.
| KviKvsTreeNodeAliasSimpleCommand::KviKvsTreeNodeAliasSimpleCommand | ( | const QChar * | pLocation, | 
| const QString & | szCmdName, | ||
| KviKvsTreeNodeDataList * | pParams | ||
| ) | 
Constructs the treenode alias simple command call object.
| pLocation | The location char of the instruction | 
| szCmdName | The name of the command | 
| pParams | The parameters' list | 
      
  | 
  default | 
Destroys the treenode alias simple command call object.
      
  | 
  virtual | 
Sets the buffer as Alias Simple Command.
| szBuffer | The buffer :) | 
Reimplemented from KviKvsTreeNodeSimpleCommand.
References KviKvsTreeNodeCommand::m_szCmdName.
      
  | 
  virtual | 
Dumps the tree.
| prefix | The prefix of the instruction | 
Reimplemented from KviKvsTreeNodeSimpleCommand.
References KviKvsTreeNodeCommandWithParameters::dumpParameterList(), KviKvsTreeNodeCommand::dumpSwitchList(), and KviKvsTreeNodeCommand::m_szCmdName.
      
  | 
  virtual | 
Evaluates the command.
| c | The context where the command is bound to | 
Implements KviKvsTreeNodeInstruction.
References __tr2qs_ctx(), KviKvsVariantList::allAsString(), KviWindow::connection(), KviWindow::context(), KviMemory::copy(), KviIrcConnection::encodeText(), KviKvsRunTimeContext::error(), KviKvsTreeNodeDataList::evaluate(), KviKvsTreeNodeSwitchList::evaluate(), KviKvsAliasManager::instance(), KVI_OPTION_BOOL, KVI_OUT_RAW, KviOption_boolSendUnknownCommandsAsRaw, l, KviKvsAliasManager::lookup(), KviKvsTreeNodeCommandWithParameters::m_pParams, KviKvsTreeNodeCommand::m_pSwitches, KviKvsTreeNodeCommand::m_szCmdName, KviWindow::output(), KviKvsScript::PreserveParams, KviKvsScript::run(), s, KviIrcConnection::sendData(), swl, KviKvsRunTimeContext::warning(), and KviKvsRunTimeContext::window().
 1.8.7