#include <KviMenuBar.h>
KviMenuBar::KviMenuBar |
( |
KviMainWindow * |
par, |
|
|
const char * |
name |
|
) |
| |
References __tr2qs, actionTriggered(), addDefaultItem(), connect(), m_pActionsToolsPopup, m_pFrm, m_pModulesToolsPopup, m_pRecentServersPopup, m_pScriptItemList, m_pToolbarsPopup, modulesToolsTriggered(), newConnectionToServer(), setupHelpPopup(), setupMainPopup(), setupScriptingPopup(), setupSettingsPopup(), setupToolsPopup(), updateActionsToolsPopup(), updateMainPopup(), updateModulesToolsPopup(), updateRecentServersPopup(), updateSettingsPopup(), updateToolbarsPopup(), updateToolsPopup(), KviWindowStack::windowPopup(), and KviMainWindow::windowStack().
KviMenuBar::~KviMenuBar |
( |
| ) |
|
void KviMenuBar::actionTriggered |
( |
QAction * |
pAction | ) |
|
|
protectedslot |
void KviMenuBar::actionTriggered |
( |
bool |
| ) |
|
|
protectedslot |
void KviMenuBar::addDefaultItem |
( |
const QString & |
text, |
|
|
QMenu * |
pop |
|
) |
| |
|
protected |
void KviMenuBar::addMenu |
( |
const QString & |
text, |
|
|
KviKvsPopupMenu * |
p, |
|
|
int |
index |
|
) |
| |
int KviMenuBar::getDefaultItemRealIndex |
( |
int |
iDefaultIndex | ) |
|
void KviMenuBar::menuDestroyed |
( |
| ) |
|
|
protectedslot |
void KviMenuBar::modulesToolsTriggered |
( |
QAction * |
pAction | ) |
|
|
protectedslot |
void KviMenuBar::newConnectionToServer |
( |
QAction * |
pAction | ) |
|
|
protectedslot |
bool KviMenuBar::removeMenu |
( |
const QString & |
text | ) |
|
void KviMenuBar::setupHelpPopup |
( |
QMenu * |
pop = 0 | ) |
|
|
protectedslot |
References __tr2qs, ACTION_POPUP_ITEM, KviIconManager::Bug, KviIconManager::Channel, g_pIconManager, KviIconManager::getSmallIcon(), KviIconManager::Help, KviIconManager::HomePage, KviIconManager::Idea, KviIconManager::Info, KviLocale::instance(), KVI_COREACTION_HELPINDEX, KVI_INTERNALCOMMAND_ABOUT_ABOUTKVIRC, KVI_INTERNALCOMMAND_HELP_NEWSTATICWINDOW, KVI_INTERNALCOMMAND_JOIN_KVIRC_ON_FREENODE, KVI_INTERNALCOMMAND_KVIRC_HOMEPAGE, KVI_INTERNALCOMMAND_KVIRC_HOMEPAGE_RU, KVI_INTERNALCOMMAND_OPENURL_KVIRC_BUGTRACK, KVI_INTERNALCOMMAND_OPENURL_KVIRC_MAILINGLIST, KVI_INTERNALCOMMAND_TIP_OPEN, kvi_strEqualCIN(), and KviIconManager::Message.
Referenced by KviMenuBar().
void KviMenuBar::setupMainPopup |
( |
QMenu * |
pop = 0 | ) |
|
|
protectedslot |
References __tr2qs, ACTION_POPUP_ITEM, actionTriggered(), g_pIconManager, KviIconManager::getSmallIcon(), KVI_COREACTION_NEWIRCCONTEXT, KVI_COREACTION_QUITKVIRC, KVI_INTERNALCOMMAND_QUIT, m_pDisconnectAction, m_pRecentServersPopup, main(), KviIconManager::Quit, and KviIconManager::World.
Referenced by KviMenuBar().
void KviMenuBar::setupScriptingPopup |
( |
QMenu * |
pop = 0 | ) |
|
|
protectedslot |
References __tr2qs, ACTION_POPUP_ITEM, g_pApp, g_pIconManager, KviIconManager::getSmallIcon(), KVI_COREACTION_ACTIONEDITOR, KVI_COREACTION_ALIASEDITOR, KVI_COREACTION_CLASSEDITOR, KVI_COREACTION_CODETESTER, KVI_COREACTION_EVENTEDITOR, KVI_COREACTION_EXECUTEKVS, KVI_COREACTION_POPUPEDITOR, KVI_COREACTION_RAWEDITOR, and KviIconManager::Warning.
Referenced by KviMenuBar().
void KviMenuBar::setupSettingsPopup |
( |
QMenu * |
pop = 0 | ) |
|
|
protectedslot |
References __tr2qs, ACTION_POPUP_ITEM, KviStringConversion::fromString(), g_pIconManager, g_pMainWindow, KviIconManager::getSmallIcon(), KVI_COREACTION_EDITREGUSERS, KVI_COREACTION_GENERALOPTIONS, KVI_COREACTION_MANAGEADDONS, KVI_COREACTION_MANAGETHEMES, KVI_COREACTION_SERVEROPTIONS, KVI_COREACTION_THEMEOPTIONS, KVI_COREACTION_TOOLBAREDITOR, KVI_SHORTCUTS_TOGGLE_MENU_BAR, m_pFrm, m_pMenuBarAction, m_pStatusBarAction, m_pToolbarsPopup, KviIconManager::MenuBar, KviIconManager::StatusBar, and KviIconManager::Toolbar.
Referenced by KviMenuBar().
void KviMenuBar::setupToolsPopup |
( |
QMenu * |
pop = 0 | ) |
|
|
protectedslot |
References __tr2qs, ACTION_POPUP_ITEM, actionTriggered(), g_pIconManager, KviIconManager::getSmallIcon(), KviIconManager::IconManager, KVI_COREACTION_CHANNELLIST, KVI_COREACTION_FILETRANSFER, KVI_COREACTION_IOGRAPH, KVI_COREACTION_JOINCHANNELS, KVI_COREACTION_LOGVIEWER, KVI_COREACTION_NETWORKLINKS, KVI_COREACTION_SCREENSHOT, KVI_COREACTION_SHAREDFILES, KVI_COREACTION_SOCKETSPY, KVI_COREACTION_URLLIST, KVI_INTERNALCOMMAND_TERM_OPEN, m, m_pActionsToolsAction, m_pActionsToolsPopup, m_pModulesToolsAction, m_pModulesToolsPopup, and KviIconManager::Terminal.
Referenced by KviMenuBar().
void KviMenuBar::updateActionsToolsPopup |
( |
| ) |
|
|
protectedslot |
void KviMenuBar::updateMainPopup |
( |
| ) |
|
|
protectedslot |
void KviMenuBar::updateModulesToolsPopup |
( |
| ) |
|
|
protectedslot |
void KviMenuBar::updateRecentServersPopup |
( |
| ) |
|
|
protectedslot |
void KviMenuBar::updateSettingsPopup |
( |
| ) |
|
|
protectedslot |
void KviMenuBar::updateToolbarsPopup |
( |
| ) |
|
|
protectedslot |
void KviMenuBar::updateToolsPopup |
( |
| ) |
|
|
protectedslot |
QAction* KviMenuBar::m_pActionsToolsAction |
|
protected |
QMenu* KviMenuBar::m_pActionsToolsPopup |
|
protected |
QAction* KviMenuBar::m_pDisconnectAction |
|
protected |
QAction* KviMenuBar::m_pMenuBarAction |
|
protected |
QAction* KviMenuBar::m_pModulesToolsAction |
|
protected |
QMenu* KviMenuBar::m_pModulesToolsPopup |
|
protected |
QMenu* KviMenuBar::m_pRecentServersPopup |
|
protected |
QAction* KviMenuBar::m_pStatusBarAction |
|
protected |
QMenu* KviMenuBar::m_pToolbarsPopup |
|
protected |
The documentation for this class was generated from the following files: