KVIrc  4.9.2
DeveloperAPIs
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
KviKvsPopupMenuItem Class Referenceabstract

#include <KviKvsPopupMenu.h>

+ Inheritance diagram for KviKvsPopupMenuItem:

Public Types

enum  Type {
  Item, Menu, Label, Separator,
  ExtMenu
}
 

Public Member Functions

virtual void clear ()
 
virtual KviKvsPopupMenuItemclone () const =0
 
bool evaluateCondition (KviKvsPopupMenuTopLevelData *pData)
 
virtual void fill (KviKvsPopupMenu *pMenu, KviKvsPopupMenuTopLevelData *pData, int iIdx)=0
 
bool isExtMenu ()
 
bool isItem ()
 
bool isLabel ()
 
bool isMenu ()
 
bool isSeparator ()
 
virtual KviKvsScriptkvsCode ()
 
KviKvsScriptkvsCondition ()
 
virtual KviKvsScriptkvsIcon ()
 
virtual KviKvsScriptkvsText ()
 
const QString & name ()
 
KviKvsPopupMenuItem::Type type ()
 
virtual ~KviKvsPopupMenuItem ()
 

Protected Member Functions

 KviKvsPopupMenuItem (Type t, const QString &szItemName, const QString &szCondition)
 
 KviKvsPopupMenuItem (Type t, const QString &szItemName, const KviKvsScript *pCondition)
 

Protected Attributes

Type m_eType
 
KviKvsScriptm_pKvsCondition
 
QString m_szItemName
 

Friends

class KviKvsPopupMenu
 

Member Enumeration Documentation

Enumerator
Item 
Menu 
Label 
Separator 
ExtMenu 

Constructor & Destructor Documentation

KviKvsPopupMenuItem::KviKvsPopupMenuItem ( Type  t,
const QString &  szItemName,
const QString &  szCondition 
)
protected
KviKvsPopupMenuItem::KviKvsPopupMenuItem ( Type  t,
const QString &  szItemName,
const KviKvsScript pCondition 
)
protected
KviKvsPopupMenuItem::~KviKvsPopupMenuItem ( )
virtual

References m_pKvsCondition.

Member Function Documentation

void KviKvsPopupMenuItem::clear ( )
virtual
virtual KviKvsPopupMenuItem* KviKvsPopupMenuItem::clone ( ) const
pure virtual
bool KviKvsPopupMenuItem::evaluateCondition ( KviKvsPopupMenuTopLevelData pData)
virtual void KviKvsPopupMenuItem::fill ( KviKvsPopupMenu pMenu,
KviKvsPopupMenuTopLevelData pData,
int  iIdx 
)
pure virtual
bool KviKvsPopupMenuItem::isExtMenu ( )
inline
bool KviKvsPopupMenuItem::isItem ( )
inline
bool KviKvsPopupMenuItem::isLabel ( )
inline
bool KviKvsPopupMenuItem::isMenu ( )
inline
bool KviKvsPopupMenuItem::isSeparator ( )
inline
KviKvsScript * KviKvsPopupMenuItem::kvsCode ( )
virtual
KviKvsScript* KviKvsPopupMenuItem::kvsCondition ( )
inline
KviKvsScript * KviKvsPopupMenuItem::kvsIcon ( )
virtual
KviKvsScript * KviKvsPopupMenuItem::kvsText ( )
virtual
const QString& KviKvsPopupMenuItem::name ( )
inline
KviKvsPopupMenuItem::Type KviKvsPopupMenuItem::type ( )
inline

Friends And Related Function Documentation

friend class KviKvsPopupMenu
friend

Member Data Documentation

Type KviKvsPopupMenuItem::m_eType
protected

Referenced by KviKvsPopupMenuItem().

KviKvsScript* KviKvsPopupMenuItem::m_pKvsCondition
protected
QString KviKvsPopupMenuItem::m_szItemName
protected

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