1 #ifndef _KVI_ACTIONMANAGER_H_
2 #define _KVI_ACTIONMANAGER_H_
69 static void loadAllAvailableActions();
83 void killAllKvsUserActions();
88 QString nameForAutomaticAction(
const QString & szTemplate);
89 bool coreActionExists(
const QString & szName);
91 void load(
const QString & szFileName);
92 void save(
const QString & szFileName);
95 bool unregisterAction(
const QString & szName);
97 void emitRemoveActionsHintRequest();
102 void customizeToolBarsDialogCreated();
103 void customizeToolBarsDialogDestroyed();
104 void tryFindCurrentToolBar();
105 void delayedRegisterAccelerators();
107 void actionDestroyed();
109 void beginCustomizeToolBars();
110 void endCustomizeToolBars();
111 void currentToolBarChanged();
112 void removeActionsHintRequest();
117 #define ACTION_POPUP_ITEM(__name, __popup) \
119 KviAction * a = KviActionManager::instance()->getAction(__name); \
121 a->addToPopupMenu(__popup); \
bool m_bCoreActionsRegistered
Definition: KviActionManager.h:63
static bool m_bCustomizingToolBars
Definition: KviActionManager.h:51
static KviActionCategory * categoryIrc()
Definition: KviActionManager.h:71
Definition: KviMainWindow.h:60
#define KVIRC_API
Definition: kvi_settings.h:128
static KviCustomToolBar * m_pCurrentToolBar
Definition: KviActionManager.h:62
#define a
Definition: detector.cpp:91
static KviActionCategory * categoryTools()
Definition: KviActionManager.h:77
Holds the categories of an action.
Definition: KviAction.h:54
static KviActionCategory * categoryGUI()
Definition: KviActionManager.h:75
static KviActionCategory * categoryChannel()
Definition: KviActionManager.h:76
Defines an action inside KVIrc.
Definition: KviAction.h:100
static KviActionCategory * m_pCategoryIrc
Definition: KviActionManager.h:54
static KviActionManager * m_pInstance
Definition: KviActionManager.h:48
static KviActionCategory * categorySettings()
Definition: KviActionManager.h:73
Definition: KviActionManager.h:36
Action drawer class.
Definition: KviActionDrawer.h:48
void done()
Definition: KviKvs.cpp:50
static KviActionManager * instance()
Definition: KviActionManager.h:68
static KviActionCategory * categoryGeneric()
Definition: KviActionManager.h:72
static KviActionCategory * m_pCategoryGeneric
Definition: KviActionManager.h:55
KviAction * findAction(const QString &szName)
Definition: KviActionManager.h:101
bool save(KviThemeInfo &options, bool bSaveIcons)
Definition: KviOptions.cpp:986
KviPointerHashTable< QString, KviActionCategory > * m_pCategories
Definition: KviActionManager.h:50
QHashIterator< int, QFile * > t(getDict)
A template double linked list of pointers.
Definition: KviPointerList.h:55
static KviActionCategory * m_pCategoryGUI
Definition: KviActionManager.h:58
static KviActionCategory * m_pCategoryTools
Definition: KviActionManager.h:60
static bool customizingToolBars()
Definition: KviActionManager.h:70
static KviActionCategory * m_pCategorySettings
Definition: KviActionManager.h:56
int init()
Definition: winamp.cpp:118
static KviActionCategory * categoryScripting()
Definition: KviActionManager.h:74
KviPointerHashTable< QString, KviAction > * actions()
Definition: KviActionManager.h:79
This file contains compile time settings.
static KviActionCategory * m_pCategoryChannel
Definition: KviActionManager.h:59
KviPointerHashTable< QString, KviAction > * m_pActions
Definition: KviActionManager.h:49
KviPointerHashTable< QString, KviActionCategory > * categories()
Definition: KviActionManager.h:81
static KviCustomToolBar * currentToolBar()
Definition: KviActionManager.h:85
static KviActionCategory * m_pCategoryScripting
Definition: KviActionManager.h:57