KVIrc 5.2.6
Developer APIs
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

 __tr2qs ("Allows entering and leaving away state")
 
 __tr2qs ("Away/Back")
 
void register_core_actions (KviActionManager *m)
 

Variables

KviChangeNickAction::KviChangeNickAction(QObject *pParent) else awa d )
 
kvi_bigicon_away png
 

Macro Definition Documentation

◆ SCRIPT_ACTION

#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)
This class handles the actions.
Definition KviKvsAction.h:44
#define m
Definition detector.cpp:78
#define a
Definition detector.cpp:92

Referenced by register_core_actions().

◆ SLOT_ACTION

#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)
Defines an action inside KVIrc.
Definition KviAction.h:105

Referenced by register_core_actions().

Function Documentation

◆ __tr2qs() [1/2]

__tr2qs ( "Allows entering and leaving away state" )

◆ __tr2qs() [2/2]

__tr2qs ( "Away/Back" )

◆ register_core_actions()

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_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_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, m, KviAction::NeedsConnection, KviAction::NeedsContext, KviIconManager::NewItem, KviIconManager::Options, KviIconManager::PopupEditor, KviIconManager::QuitApp, KviIconManager::RawEventEditor, 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().

Variable Documentation

◆ d

KviChangeNickAction::KviChangeNickAction (QObject * pParent) else awa d)

◆ png

kvi_bigicon_away png