KVIrc  4.9.2
DeveloperAPIs
Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
KviKvsPopupManager Class Reference

#include <KviKvsPopupManager.h>

+ Inheritance diagram for KviKvsPopupManager:

Signals

void popupRefresh (const QString &szPopupName)
 

Public Member Functions

void add (const QString &szPopupName, KviKvsPopupMenu *pPopup)
 
void clear ()
 
void emitRefresh (const QString &szPopupName)
 
KviKvsPopupMenuget (const QString &szPopupName)
 
void load (const QString &filename)
 
KviKvsPopupMenulookup (const QString &szPopupName)
 
int popupCount ()
 
KviPointerHashTable< QString,
KviKvsPopupMenu > * 
popupDict ()
 
void remove (const QString &szPopupName)
 
void save (const QString &filename)
 

Static Public Member Functions

static void done ()
 
static void init ()
 
static KviKvsPopupManagerinstance ()
 

Protected Member Functions

 KviKvsPopupManager ()
 
 ~KviKvsPopupManager ()
 

Protected Attributes

KviPointerHashTable< QString,
KviKvsPopupMenu > * 
m_pPopupDict
 

Static Protected Attributes

static KviKvsPopupManagerm_pInstance = nullptr
 

Constructor & Destructor Documentation

KviKvsPopupManager::KviKvsPopupManager ( )
protected
KviKvsPopupManager::~KviKvsPopupManager ( )
protected

References m_pPopupDict.

Member Function Documentation

void KviKvsPopupManager::add ( const QString &  szPopupName,
KviKvsPopupMenu pPopup 
)
void KviKvsPopupManager::clear ( )
inline

Referenced by KviKvs::clearPopups().

void KviKvsPopupManager::done ( )
static

References instance().

Referenced by KviKvs::done().

void KviKvsPopupManager::emitRefresh ( const QString &  szPopupName)
KviKvsPopupMenu * KviKvsPopupManager::get ( const QString &  szPopupName)

References add(), lookup(), and m.

Referenced by PopupEditorWidget::commit().

void KviKvsPopupManager::init ( )
static

References instance(), and KviKvsPopupManager().

Referenced by KviKvs::init().

static KviKvsPopupManager* KviKvsPopupManager::instance ( )
inlinestatic
void KviKvsPopupManager::load ( const QString &  filename)
KviKvsPopupMenu* KviKvsPopupManager::lookup ( const QString &  szPopupName)
inline
int KviKvsPopupManager::popupCount ( )
inline
KviPointerHashTable<QString, KviKvsPopupMenu>* KviKvsPopupManager::popupDict ( )
inline
void KviKvsPopupManager::popupRefresh ( const QString &  szPopupName)
signal

Referenced by add(), and emitRefresh().

void KviKvsPopupManager::remove ( const QString &  szPopupName)
inline
void KviKvsPopupManager::save ( const QString &  filename)

Member Data Documentation

KviKvsPopupManager * KviKvsPopupManager::m_pInstance = nullptr
staticprotected

Referenced by KviKvsPopupManager().

KviPointerHashTable<QString, KviKvsPopupMenu>* KviKvsPopupManager::m_pPopupDict
protected

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