KVIrc  4.9.2
DeveloperAPIs
Macros | Functions
KviCoreActions.cpp File Reference
#include "KviCoreActions.h"
#include "KviShortcut.h"
#include "KviMainWindow.h"
#include "KviLocale.h"
#include "KviIrcContext.h"
#include "KviIconManager.h"
#include "KviApplication.h"
#include "KviCustomToolBar.h"
#include "KviActionDrawer.h"
#include "KviActionManager.h"
#include "KviKvsAction.h"
#include "KviWindowStack.h"
#include "KviIrcToolBar.h"
#include "KviIrcUrl.h"
#include "KviIrcConnection.h"
#include "KviIrcConnectionUserInfo.h"
#include "KviCoreActionNames.h"
#include "KviIrcConnectionServerInfo.h"
#include "KviKvsScript.h"
#include "KviOptions.h"
#include <QObject>
#include <QMenu>

Macros

#define SCRIPT_ACTION(__name, __code, __visible, __description, __category, __icon, __smallicon, __flags, __accel)
 
#define SLOT_ACTION(__name, __object, __slot, __visible, __description, __category, __icon, __smallicon, __flags, __accel)
 

Functions

void register_core_actions (KviActionManager *m)
 

Macro Definition Documentation

#define SCRIPT_ACTION (   __name,
  __code,
  __visible,
  __description,
  __category,
  __icon,
  __smallicon,
  __flags,
  __accel 
)
Value:
a = new KviKvsAction(m, \
QString(__name), \
QString(__code), \
QString(__visible), \
QString(__description), \
__category, \
QString(__icon), \
__smallicon, \
__flags, \
QKeySequence(__accel).toString()); \
m->registerAction(a)
#define a
Definition: detector.cpp:91
#define m
Definition: detector.cpp:77
void toString(const bool bValue, QString &szBuffer)
Definition: KviStringConversion.cpp:100
This class handles the actions.
Definition: KviKvsAction.h:43

Referenced by register_core_actions().

#define SLOT_ACTION (   __name,
  __object,
  __slot,
  __visible,
  __description,
  __category,
  __icon,
  __smallicon,
  __flags,
  __accel 
)
Value:
a = new KviAction(m, \
QString(__name), \
QString(__visible), \
QString(__description), \
__category, \
QString(__icon), \
__smallicon, \
__flags, \
QKeySequence(__accel).toString()); \
QObject::connect(a, SIGNAL(activated()), __object, __slot); \
m->registerAction(a)
connect(m_pFtp, SIGNAL(commandFinished(int, bool)), this, SLOT(slotCommandFinished(int, bool)))
#define a
Definition: detector.cpp:91
#define m
Definition: detector.cpp:77
Defines an action inside KVIrc.
Definition: KviAction.h:100
void toString(const bool bValue, QString &szBuffer)
Definition: KviStringConversion.cpp:100

Referenced by register_core_actions().

Function Documentation

void register_core_actions ( KviActionManager m)

References __tr2qs, a, KviIconManager::ActionEditor, KviIconManager::Addons, KviIconManager::AliasEditor, KviIconManager::Bomb, KviActionManager::categoryGeneric(), KviActionManager::categoryIrc(), KviActionManager::categoryScripting(), KviActionManager::categorySettings(), KviIconManager::Channel, KviIconManager::ClassEditor, KviIconManager::EventEditor, KviIconManager::FileTransfer, KviIconManager::Folder, g_pApp, g_pMainWindow, KviIconManager::Help, KviIconManager::HomePage, KviIconManager::Identity, KVI_COREACTION_ACTIONEDITOR, KVI_COREACTION_ALIASEDITOR, KVI_COREACTION_CHANNELLIST, KVI_COREACTION_CLASSEDITOR, KVI_COREACTION_CODETESTER, KVI_COREACTION_EDITREGUSERS, KVI_COREACTION_EVENTEDITOR, KVI_COREACTION_EXECUTEKVS, KVI_COREACTION_FILETRANSFER, KVI_COREACTION_GENERALOPTIONS, KVI_COREACTION_HELPINDEX, KVI_COREACTION_IDENTITYOPTIONS, KVI_COREACTION_IOGRAPH, KVI_COREACTION_JOINCHANNELS, KVI_COREACTION_KVIRCHOMEPAGE, KVI_COREACTION_KVIRCMAILINGLIST, KVI_COREACTION_KVIRCRUHOMEPAGE, KVI_COREACTION_LOGVIEWER, KVI_COREACTION_MANAGEADDONS, KVI_COREACTION_MANAGETHEMES, KVI_COREACTION_NETWORKLINKS, KVI_COREACTION_NEWIRCCONTEXT, KVI_COREACTION_POPUPEDITOR, KVI_COREACTION_QUITKVIRC, KVI_COREACTION_RAWEDITOR, KVI_COREACTION_SCREENSHOT, KVI_COREACTION_SERVEROPTIONS, KVI_COREACTION_SHAREDFILES, KVI_COREACTION_SOCKETSPY, KVI_COREACTION_THEMEOPTIONS, KVI_COREACTION_TOOLBAREDITOR, KVI_COREACTION_URLLIST, KVI_SHORTCUTS_CONTEXT, KVI_SHORTCUTS_EDITORS_ACTION, KVI_SHORTCUTS_EDITORS_ALIAS, KVI_SHORTCUTS_EDITORS_CLASS, KVI_SHORTCUTS_EDITORS_EVENT, KVI_SHORTCUTS_EDITORS_POPUP, KVI_SHORTCUTS_EDITORS_RAW, KVI_SHORTCUTS_EDITORS_TESTER, KVI_SHORTCUTS_EDITORS_TOOLBAR, KVI_SHORTCUTS_EXEC, KVI_SHORTCUTS_HELP, KVI_SHORTCUTS_IDENTITY, KVI_SHORTCUTS_JOIN, KVI_SHORTCUTS_MANAGE_ADDONS, KVI_SHORTCUTS_MANAGE_THEMES, KVI_SHORTCUTS_OPTIONS, KVI_SHORTCUTS_QUIT, KVI_SHORTCUTS_SERVERS, KVI_SHORTCUTS_THEME, KVI_SHORTCUTS_USERS, KviIconManager::Links, KviIconManager::List, KviIconManager::Log, KviIconManager::Message, KviAction::NeedsConnection, KviAction::NeedsContext, KviIconManager::NewItem, KviIconManager::Options, KviIconManager::PopupEditor, quit(), KviIconManager::QuitApp, KviIconManager::RawEventEditor, KviActionManager::registerAction(), KviIconManager::RegUsers, KviIconManager::ScreenShot, SCRIPT_ACTION, KviIconManager::ServerConfiguration, KviIconManager::SharedFiles, SLOT_ACTION, KviIconManager::Spy, KviIconManager::SysMonitor, KviIconManager::Theme, KviIconManager::ThemeOptions, KviIconManager::ToolBarEditor, and KviIconManager::Url.

Referenced by KviActionManager::getAction(), and KviActionManager::loadAllAvailableActions().