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

#include <KviKvsPopupMenu.h>

+ Inheritance diagram for KviKvsPopupMenuItemWithTextAndIcon:

Public Member Functions

QPixmap * evaluateIcon (KviKvsPopupMenuTopLevelData *pData)
 
QString evaluateText (KviKvsPopupMenuTopLevelData *pData)
 
virtual KviKvsScriptkvsIcon ()
 
virtual KviKvsScriptkvsText ()
 
virtual ~KviKvsPopupMenuItemWithTextAndIcon ()
 
- Public Member Functions inherited from KviKvsPopupMenuItem
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 ()
 
const QString & name ()
 
KviKvsPopupMenuItem::Type type ()
 
virtual ~KviKvsPopupMenuItem ()
 

Protected Member Functions

 KviKvsPopupMenuItemWithTextAndIcon (KviKvsPopupMenuItem::Type t, const QString &szItemName, const QString &szText, const QString &szIcon, const QString &szCondition)
 
 KviKvsPopupMenuItemWithTextAndIcon (KviKvsPopupMenuItem::Type t, const QString &szItemName, const KviKvsScript *pText, const KviKvsScript *pIcon, const KviKvsScript *pCondition)
 
- Protected Member Functions inherited from KviKvsPopupMenuItem
 KviKvsPopupMenuItem (Type t, const QString &szItemName, const QString &szCondition)
 
 KviKvsPopupMenuItem (Type t, const QString &szItemName, const KviKvsScript *pCondition)
 

Protected Attributes

KviKvsScriptm_pKvsIcon
 
KviKvsScriptm_pKvsText
 
- Protected Attributes inherited from KviKvsPopupMenuItem
Type m_eType
 
KviKvsScriptm_pKvsCondition
 
QString m_szItemName
 

Additional Inherited Members

- Public Types inherited from KviKvsPopupMenuItem
enum  Type {
  Item, Menu, Label, Separator,
  ExtMenu
}
 

Constructor & Destructor Documentation

KviKvsPopupMenuItemWithTextAndIcon::KviKvsPopupMenuItemWithTextAndIcon ( KviKvsPopupMenuItem::Type  t,
const QString &  szItemName,
const QString &  szText,
const QString &  szIcon,
const QString &  szCondition 
)
protected
KviKvsPopupMenuItemWithTextAndIcon::KviKvsPopupMenuItemWithTextAndIcon ( KviKvsPopupMenuItem::Type  t,
const QString &  szItemName,
const KviKvsScript pText,
const KviKvsScript pIcon,
const KviKvsScript pCondition 
)
protected
KviKvsPopupMenuItemWithTextAndIcon::~KviKvsPopupMenuItemWithTextAndIcon ( )
virtual

References m_pKvsIcon, and m_pKvsText.

Member Function Documentation

QPixmap * KviKvsPopupMenuItemWithTextAndIcon::evaluateIcon ( KviKvsPopupMenuTopLevelData pData)
QString KviKvsPopupMenuItemWithTextAndIcon::evaluateText ( KviKvsPopupMenuTopLevelData pData)
KviKvsScript * KviKvsPopupMenuItemWithTextAndIcon::kvsIcon ( )
virtual

Reimplemented from KviKvsPopupMenuItem.

References m_pKvsIcon.

KviKvsScript * KviKvsPopupMenuItemWithTextAndIcon::kvsText ( )
virtual

Reimplemented from KviKvsPopupMenuItem.

References m_pKvsText.

Member Data Documentation

KviKvsScript* KviKvsPopupMenuItemWithTextAndIcon::m_pKvsIcon
protected
KviKvsScript* KviKvsPopupMenuItemWithTextAndIcon::m_pKvsText
protected

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