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

#include <KviActionManager.h>

+ Inheritance diagram for KviActionManager:

Signals

void beginCustomizeToolBars ()
 
void currentToolBarChanged ()
 
void endCustomizeToolBars ()
 
void removeActionsHintRequest ()
 

Public Member Functions

KviPointerHashTable< QString,
KviAction > * 
actions ()
 
KviPointerHashTable< QString,
KviActionCategory > * 
categories ()
 
KviActionCategorycategory (const QString &szName)
 
bool coreActionExists (const QString &szName)
 
void emitRemoveActionsHintRequest ()
 
KviActiongetAction (const QString &szName)
 
void killAllKvsUserActions ()
 
 KviActionManager ()
 
void listActionsByCategory (const QString &szCatName, KviPointerList< KviAction > *pBuffer)
 
void load (const QString &szFileName)
 
QString nameForAutomaticAction (const QString &szTemplate)
 
bool registerAction (KviAction *a)
 
void save (const QString &szFileName)
 
bool unregisterAction (const QString &szName)
 
 ~KviActionManager ()
 

Static Public Member Functions

static KviActionCategorycategoryChannel ()
 
static KviActionCategorycategoryGeneric ()
 
static KviActionCategorycategoryGUI ()
 
static KviActionCategorycategoryIrc ()
 
static KviActionCategorycategoryScripting ()
 
static KviActionCategorycategorySettings ()
 
static KviActionCategorycategoryTools ()
 
static KviCustomToolBarcurrentToolBar ()
 
static bool customizingToolBars ()
 
static void done ()
 
static void init ()
 
static KviActionManagerinstance ()
 
static void loadAllAvailableActions ()
 

Protected Slots

void actionDestroyed ()
 

Protected Member Functions

void customizeToolBarsDialogCreated ()
 
void customizeToolBarsDialogDestroyed ()
 
void delayedRegisterAccelerators ()
 
KviActionfindAction (const QString &szName)
 
void setCurrentToolBar (KviCustomToolBar *t)
 
void tryFindCurrentToolBar ()
 

Protected Attributes

bool m_bCoreActionsRegistered
 
KviPointerHashTable< QString,
KviAction > * 
m_pActions
 
KviPointerHashTable< QString,
KviActionCategory > * 
m_pCategories
 

Static Protected Attributes

static bool m_bCustomizingToolBars = false
 
static KviActionCategorym_pCategoryChannel = nullptr
 
static KviActionCategorym_pCategoryGeneric = nullptr
 
static KviActionCategorym_pCategoryGUI = nullptr
 
static KviActionCategorym_pCategoryIrc = nullptr
 
static KviActionCategorym_pCategoryScripting = nullptr
 
static KviActionCategorym_pCategorySettings = nullptr
 
static KviActionCategorym_pCategoryTools = nullptr
 
static KviCustomToolBarm_pCurrentToolBar = nullptr
 
static KviActionManagerm_pInstance = nullptr
 

Friends

class CustomizeToolBarsDialog
 
class KviActionDrawer
 
class KviCustomToolBar
 
class KviMainWindow
 

Constructor & Destructor Documentation

KviActionManager::KviActionManager ( )
KviActionManager::~KviActionManager ( )

Member Function Documentation

void KviActionManager::actionDestroyed ( )
protectedslot
KviPointerHashTable<QString, KviAction>* KviActionManager::actions ( )
inline

Referenced by KviActionDrawer::fill().

void KviActionManager::beginCustomizeToolBars ( )
signal
KviPointerHashTable<QString, KviActionCategory>* KviActionManager::categories ( )
inline
KviActionCategory * KviActionManager::category ( const QString &  szName)
static KviActionCategory* KviActionManager::categoryChannel ( )
inlinestatic
static KviActionCategory* KviActionManager::categoryGeneric ( )
inlinestatic
static KviActionCategory* KviActionManager::categoryGUI ( )
inlinestatic
static KviActionCategory* KviActionManager::categoryIrc ( )
inlinestatic
static KviActionCategory* KviActionManager::categoryScripting ( )
inlinestatic

Referenced by register_core_actions().

static KviActionCategory* KviActionManager::categorySettings ( )
inlinestatic

Referenced by register_core_actions().

static KviActionCategory* KviActionManager::categoryTools ( )
inlinestatic
bool KviActionManager::coreActionExists ( const QString &  szName)
static KviCustomToolBar* KviActionManager::currentToolBar ( )
inlinestatic
void KviActionManager::currentToolBarChanged ( )
signal

Referenced by setCurrentToolBar().

void KviActionManager::customizeToolBarsDialogCreated ( )
protected
void KviActionManager::customizeToolBarsDialogDestroyed ( )
protected
static bool KviActionManager::customizingToolBars ( )
inlinestatic
void KviActionManager::delayedRegisterAccelerators ( )
protected
void KviActionManager::done ( )
static

References m_pInstance.

Referenced by KviApplication::~KviApplication().

void KviActionManager::emitRemoveActionsHintRequest ( )
void KviActionManager::endCustomizeToolBars ( )
signal
KviAction* KviActionManager::findAction ( const QString &  szName)
inlineprotected
KviAction * KviActionManager::getAction ( const QString &  szName)
void KviActionManager::init ( )
static

References KviActionManager(), and m_pInstance.

Referenced by KviApplication::setup().

static KviActionManager* KviActionManager::instance ( )
inlinestatic
void KviActionManager::killAllKvsUserActions ( )
void KviActionManager::listActionsByCategory ( const QString &  szCatName,
KviPointerList< KviAction > *  pBuffer 
)
void KviActionManager::load ( const QString &  szFileName)
void KviActionManager::loadAllAvailableActions ( )
static
QString KviActionManager::nameForAutomaticAction ( const QString &  szTemplate)
bool KviActionManager::registerAction ( KviAction a)
void KviActionManager::removeActionsHintRequest ( )
signal
void KviActionManager::save ( const QString &  szFileName)
void KviActionManager::setCurrentToolBar ( KviCustomToolBar t)
protected
void KviActionManager::tryFindCurrentToolBar ( )
protected
bool KviActionManager::unregisterAction ( const QString &  szName)

Friends And Related Function Documentation

friend class CustomizeToolBarsDialog
friend
friend class KviActionDrawer
friend
friend class KviCustomToolBar
friend
friend class KviMainWindow
friend

Member Data Documentation

bool KviActionManager::m_bCoreActionsRegistered
protected
bool KviActionManager::m_bCustomizingToolBars = false
staticprotected
KviPointerHashTable<QString, KviAction>* KviActionManager::m_pActions
protected
KviPointerHashTable<QString, KviActionCategory>* KviActionManager::m_pCategories
protected
KviActionCategory * KviActionManager::m_pCategoryChannel = nullptr
staticprotected

Referenced by KviActionManager().

KviActionCategory * KviActionManager::m_pCategoryGeneric = nullptr
staticprotected

Referenced by category(), and KviActionManager().

KviActionCategory * KviActionManager::m_pCategoryGUI = nullptr
staticprotected

Referenced by KviActionManager().

KviActionCategory * KviActionManager::m_pCategoryIrc = nullptr
staticprotected

Referenced by KviActionManager().

KviActionCategory * KviActionManager::m_pCategoryScripting = nullptr
staticprotected

Referenced by KviActionManager().

KviActionCategory * KviActionManager::m_pCategorySettings = nullptr
staticprotected

Referenced by KviActionManager().

KviActionCategory * KviActionManager::m_pCategoryTools = nullptr
staticprotected

Referenced by KviActionManager().

KviCustomToolBar * KviActionManager::m_pCurrentToolBar = nullptr
staticprotected
KviActionManager * KviActionManager::m_pInstance = nullptr
staticprotected

Referenced by done(), and init().


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