KVIrc
4.9.2
DeveloperAPIs
|
#include <KviModuleExtension.h>
Public Member Functions | |
KviModuleExtension * | allocateExtension (const KviCString &szType, const KviCString &szName, KviWindow *pWnd=0, KviPointerHashTable< QString, QVariant > *pParams=0, void *pSpecial=0, const QString &preloadModule=QString()) |
KviModuleExtension * | allocateExtension (const KviCString &szType, int id, KviWindow *pWnd=0, KviPointerHashTable< QString, QVariant > *pParams=0, void *pSpecial=0, const QString &preloadModule=QString()) |
KviModuleExtensionDescriptor * | findExtensionDescriptor (const KviCString &szType, const KviCString &szName) |
KviModuleExtensionDescriptorList * | getExtensionList (const KviCString &szType) |
Static Public Member Functions | |
static KviModuleExtensionManager * | instance () |
Protected Member Functions | |
KviModuleExtensionManager () | |
KviModuleExtensionDescriptor * | registerExtension (KviModule *m, const KviCString &szType, const KviCString &szName, const QString &szVisibleName, KviModuleExtensionAllocRoutine r, const QPixmap &icon) |
void | unregisterExtensionsByModule (KviModule *m) |
~KviModuleExtensionManager () | |
Protected Attributes | |
KviPointerHashTable< const char *, KviModuleExtensionDescriptorList > * | m_pExtensionDict |
Private Member Functions | |
KviModuleExtensionDescriptorList * | allocateExtensionGetDescriptorList (const KviCString &szType, const QString &preloadModule) |
Friends | |
class | KviApplication |
class | KviModule |
|
protected |
References m_pExtensionDict.
|
protected |
References m_pExtensionDict.
KviModuleExtension * KviModuleExtensionManager::allocateExtension | ( | const KviCString & | szType, |
const KviCString & | szName, | ||
KviWindow * | pWnd = 0 , |
||
KviPointerHashTable< QString, QVariant > * | pParams = 0 , |
||
void * | pSpecial = 0 , |
||
const QString & | preloadModule = QString() |
||
) |
References KviModuleExtensionDescriptor::allocate(), allocateExtensionGetDescriptorList(), d, KviCString::equalsCI(), KviPointerList< T >::first(), g_pModuleManager, l, KviModuleManager::loadModulesByCaps(), KviModuleExtensionDescriptor::name(), KviPointerList< T >::next(), and KviCString::ptr().
Referenced by KviIrcLink::createSocket(), OptionsWidget_servers::importPopupActivated(), KviMenuBar::modulesToolsTriggered(), KviMainWindow::restoreModuleExtensionToolBars(), and KviMainWindow::toolbarsPopupSelected().
KviModuleExtension * KviModuleExtensionManager::allocateExtension | ( | const KviCString & | szType, |
int | id, | ||
KviWindow * | pWnd = 0 , |
||
KviPointerHashTable< QString, QVariant > * | pParams = 0 , |
||
void * | pSpecial = 0 , |
||
const QString & | preloadModule = QString() |
||
) |
|
private |
References g_pModuleManager, KviModuleManager::getModule(), l, KviModuleManager::loadModulesByCaps(), m, m_pExtensionDict, and KviCString::ptr().
Referenced by allocateExtension().
KviModuleExtensionDescriptor * KviModuleExtensionManager::findExtensionDescriptor | ( | const KviCString & | szType, |
const KviCString & | szName | ||
) |
References d, KviPointerList< T >::first(), l, m_pExtensionDict, KviPointerList< T >::next(), and KviCString::ptr().
Referenced by KviModule::findExtensionDescriptor().
KviModuleExtensionDescriptorList * KviModuleExtensionManager::getExtensionList | ( | const KviCString & | szType | ) |
References g_pModuleManager, KviModuleManager::loadModulesByCaps(), m_pExtensionDict, and KviCString::ptr().
Referenced by KviMainWindow::fillToolBarsPopup(), OptionsWidget_servers::importPopupAboutToShow(), OptionsWidget_servers::importPopupActivated(), IrcServerDetailsWidget::IrcServerDetailsWidget(), KviMenuBar::updateModulesToolsPopup(), and KviMenuBar::updateToolsPopup().
|
inlinestatic |
|
protected |
References KviPointerList< T >::append(), d, l, m_pExtensionDict, KviCString::ptr(), and KviPointerList< T >::setAutoDelete().
Referenced by KviModule::registerExtension().
|
protected |
References KviPointerList< T >::append(), KviPointerHashTableIterator< Key, T >::current(), KviPointerHashTableIterator< Key, T >::currentKey(), d, KviPointerList< T >::first(), l, m, m_pExtensionDict, KviPointerList< T >::next(), and KviPointerList< T >::setAutoDelete().
Referenced by KviModule::unregisterAllExtensions().
|
friend |
|
friend |
|
protected |