KVIrc  4.9.2
DeveloperAPIs
Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Slots | Private Attributes | Friends | List of all members
KviKvsPopupMenu Class Reference

#include <KviKvsPopupMenu.h>

+ Inheritance diagram for KviKvsPopupMenu:

Signals

void testModeItemClicked (KviKvsPopupMenuItem *it)
 

Public Member Functions

void addEpilogue (const QString &szItemName, const QString &szCode)
 
void addExtPopup (const QString &szItemName, const QString &szPopupName, const QString &szText, const QString &szIcon, const QString &szCondition)
 
void addItem (const QString &szItemName, const QString &szCode, const QString &szText, const QString &szIcon, const QString &szCondition)
 
void addLabel (const QString &szItemName, const QString &szText, const QString &szIcon, const QString &szCondition)
 
KviKvsPopupMenuaddPopup (const QString &szItemName, const QString &szText, const QString &szIcon, const QString &szCondition)
 
void addPrologue (const QString &szItemName, const QString &szCode)
 
void addSeparator (const QString &szItemName, const QString &szCondition)
 
void copyFrom (const KviKvsPopupMenu *src)
 
void doClear ()
 
void doPopup (const QPoint &pnt, KviWindow *wnd, KviKvsVariantList *pParams, bool bTestMode=false)
 
KviPointerList< KviKvsScript > * epilogues ()
 
KviKvsPopupMenufindChildPopupByName (const QString &szItemName)
 
void generateDefPopup (QString &buffer)
 
void generateDefPopupCore (QString &buffer)
 
bool isEmpty ()
 
bool isHardLocked ()
 
bool isSoftLocked ()
 
KviPointerList
< KviKvsPopupMenuItem > * 
itemList ()
 
 KviKvsPopupMenu (const QString &szName)
 
void lock (KviKvsPopupMenuTopLevelData::LockStatus eLock)
 
KviKvsPopupMenuparentPopup ()
 
const QString & popupName ()
 
KviPointerList< KviKvsScript > * prologues ()
 
bool removeItemByName (const QString &szItemName, bool bRecursive)
 
void setParentPopup (KviKvsPopupMenu *par)
 
void setPopupName (const QString &szName)
 
KviKvsPopupMenuTopLevelDatatopLevelData ()
 
KviKvsPopupMenutopLevelPopup ()
 
 ~KviKvsPopupMenu ()
 

Protected Slots

void itemClicked (QAction *pAction)
 

Protected Member Functions

void addItemInternal (KviKvsPopupMenuItem *it)
 
void clearMenuContents ()
 
void executeEpilogues (KviKvsPopupMenuTopLevelData *pData)
 
void executePrologues (KviKvsPopupMenuTopLevelData *pData)
 
void load (const QString &prefix, KviConfigurationFile *cfg)
 
void save (const QString &prefix, KviConfigurationFile *cfg)
 

Protected Attributes

KviPointerList
< KviKvsPopupMenuItem > * 
m_pItemList
 

Private Slots

void setupMenuContents ()
 

Private Attributes

bool m_bSetupDone
 
KviPointerList< KviKvsScript > * m_pEpilogues
 
KviKvsPopupMenum_pParentPopup
 
KviPointerList< KviKvsScript > * m_pPrologues
 
KviKvsPopupMenuTopLevelDatam_pTempTopLevelData
 
KviKvsPopupMenuTopLevelDatam_pTopLevelData
 
QString m_szName
 

Friends

class KviKvsPopupManager
 
class KviKvsPopupMenuItemMenu
 
class KviSinglePopupEditor
 

Constructor & Destructor Documentation

KviKvsPopupMenu::KviKvsPopupMenu ( const QString &  szName)
KviKvsPopupMenu::~KviKvsPopupMenu ( )

Member Function Documentation

void KviKvsPopupMenu::addEpilogue ( const QString &  szItemName,
const QString &  szCode 
)
void KviKvsPopupMenu::addExtPopup ( const QString &  szItemName,
const QString &  szPopupName,
const QString &  szText,
const QString &  szIcon,
const QString &  szCondition 
)
void KviKvsPopupMenu::addItem ( const QString &  szItemName,
const QString &  szCode,
const QString &  szText,
const QString &  szIcon,
const QString &  szCondition 
)
void KviKvsPopupMenu::addItemInternal ( KviKvsPopupMenuItem it)
protected
void KviKvsPopupMenu::addLabel ( const QString &  szItemName,
const QString &  szText,
const QString &  szIcon,
const QString &  szCondition 
)
KviKvsPopupMenu * KviKvsPopupMenu::addPopup ( const QString &  szItemName,
const QString &  szText,
const QString &  szIcon,
const QString &  szCondition 
)
void KviKvsPopupMenu::addPrologue ( const QString &  szItemName,
const QString &  szCode 
)
void KviKvsPopupMenu::addSeparator ( const QString &  szItemName,
const QString &  szCondition 
)
void KviKvsPopupMenu::clearMenuContents ( )
protected
void KviKvsPopupMenu::copyFrom ( const KviKvsPopupMenu src)
void KviKvsPopupMenu::doClear ( )
void KviKvsPopupMenu::doPopup ( const QPoint &  pnt,
KviWindow wnd,
KviKvsVariantList pParams,
bool  bTestMode = false 
)
KviPointerList<KviKvsScript>* KviKvsPopupMenu::epilogues ( )
inline
void KviKvsPopupMenu::executeEpilogues ( KviKvsPopupMenuTopLevelData pData)
protected
void KviKvsPopupMenu::executePrologues ( KviKvsPopupMenuTopLevelData pData)
protected
KviKvsPopupMenu * KviKvsPopupMenu::findChildPopupByName ( const QString &  szItemName)
void KviKvsPopupMenu::generateDefPopup ( QString &  buffer)
void KviKvsPopupMenu::generateDefPopupCore ( QString &  buffer)
bool KviKvsPopupMenu::isEmpty ( )
inline
bool KviKvsPopupMenu::isHardLocked ( )
bool KviKvsPopupMenu::isSoftLocked ( )
void KviKvsPopupMenu::itemClicked ( QAction *  pAction)
protectedslot
KviPointerList<KviKvsPopupMenuItem>* KviKvsPopupMenu::itemList ( )
inline
void KviKvsPopupMenu::load ( const QString &  prefix,
KviConfigurationFile cfg 
)
protected
void KviKvsPopupMenu::lock ( KviKvsPopupMenuTopLevelData::LockStatus  eLock)
KviKvsPopupMenu* KviKvsPopupMenu::parentPopup ( )
inline
const QString& KviKvsPopupMenu::popupName ( )
inline
KviPointerList<KviKvsScript>* KviKvsPopupMenu::prologues ( )
inline
bool KviKvsPopupMenu::removeItemByName ( const QString &  szItemName,
bool  bRecursive 
)
void KviKvsPopupMenu::save ( const QString &  prefix,
KviConfigurationFile cfg 
)
protected
void KviKvsPopupMenu::setParentPopup ( KviKvsPopupMenu par)
inline
void KviKvsPopupMenu::setPopupName ( const QString &  szName)
inline
void KviKvsPopupMenu::setupMenuContents ( )
privateslot
void KviKvsPopupMenu::testModeItemClicked ( KviKvsPopupMenuItem it)
signal

Referenced by itemClicked().

KviKvsPopupMenuTopLevelData * KviKvsPopupMenu::topLevelData ( )
KviKvsPopupMenu * KviKvsPopupMenu::topLevelPopup ( )

References parentPopup().

Referenced by isHardLocked(), and isSoftLocked().

Friends And Related Function Documentation

friend class KviKvsPopupManager
friend
friend class KviKvsPopupMenuItemMenu
friend

Referenced by addPopup().

friend class KviSinglePopupEditor
friend

Member Data Documentation

bool KviKvsPopupMenu::m_bSetupDone
private
KviPointerList<KviKvsScript>* KviKvsPopupMenu::m_pEpilogues
private
KviPointerList<KviKvsPopupMenuItem>* KviKvsPopupMenu::m_pItemList
protected
KviKvsPopupMenu* KviKvsPopupMenu::m_pParentPopup
private

Referenced by KviKvsPopupMenu().

KviPointerList<KviKvsScript>* KviKvsPopupMenu::m_pPrologues
private
KviKvsPopupMenuTopLevelData* KviKvsPopupMenu::m_pTempTopLevelData
private
KviKvsPopupMenuTopLevelData* KviKvsPopupMenu::m_pTopLevelData
private
QString KviKvsPopupMenu::m_szName
private

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