KVIrc  4.9.2
DeveloperAPIs
Classes | Macros
KviActionManager.h File Reference
#include "kvi_settings.h"
#include "KviAction.h"
#include "KviPointerHashTable.h"
#include <QObject>

Go to the source code of this file.

Classes

class  KviActionManager
 

Macros

#define ACTION_POPUP_ITEM(__name, __popup)
 

Macro Definition Documentation

#define ACTION_POPUP_ITEM (   __name,
  __popup 
)
Value:
{ \
KviAction * a = KviActionManager::instance()->getAction(__name); \
if(a) \
a->addToPopupMenu(__popup); \
}
#define a
Definition: detector.cpp:91
if(m_pFile) delete m_pFile
static KviActionManager * instance()
Definition: KviActionManager.h:68
KviAction * getAction(const QString &szName)
Definition: KviActionManager.cpp:281

Referenced by KviMenuBar::setupHelpPopup(), KviMenuBar::setupMainPopup(), KviMenuBar::setupScriptingPopup(), KviMenuBar::setupSettingsPopup(), and KviMenuBar::setupToolsPopup().