KDevelop API Documentation

MainWindowShare Class Reference

#include <mainwindowshare.h>

Inheritance diagram for MainWindowShare:

QObject List of all members.

Public Slots

void slotGUICreated (KParts::Part *)

Signals

void gotoNextWindow ()
void gotoPreviousWindow ()
void gotoFirstWindow ()
void gotoLastWindow ()

Public Member Functions

 MainWindowShare (QObject *pParent=0L, const char *name=0L)
 ~MainWindowShare ()
void createActions ()
void init ()

Private Slots

void slotReportBug ()
void slotKeyBindings ()
void slotConfigureToolbars ()
void slotConfigureNotifications ()
void slotConfigureEditors ()
void slotSettings ()
void slotActiveProcessChanged (KDevPlugin *, bool)
void slotActivePartChanged (KParts::Part *part)
void slotStopPopupActivated (int)
void slotStopMenuAboutToShow ()
void slotStopButtonPressed ()
void slotNewToolbarConfig ()
void slotShowMenuBar ()
void slotActionStatusText (const QString &text)
void slotToggleMainToolbar ()
void slotToggleBuildToolbar ()
void slotToggleViewToolbar ()
void slotToggleBrowserToolbar ()
void slotToggleStatusbar ()
void contextMenu (QPopupMenu *, const Context *)

Private Attributes

KToggleActionm_toggleMainToolbar
KToggleActionm_toggleBuildToolbar
KToggleActionm_toggleViewToolbar
KToggleActionm_toggleBrowserToolbar
KToggleActionm_toggleStatusbar
KActionm_configureEditorAction
KToolBarPopupActionm_stopProcesses
 Stops all running processes.

KParts::MainWindowm_pMainWnd
QPtrList< KDevPluginactiveProcesses

Constructor & Destructor Documentation

MainWindowShare::MainWindowShare QObject pParent = 0L,
const char *  name = 0L
 

Definition at line 74 of file mainwindowshare.cpp.

References m_pMainWnd, and MainWindowShare().

Referenced by MainWindowShare().

MainWindowShare::~MainWindowShare  )  [inline]
 

Definition at line 33 of file mainwindowshare.h.


Member Function Documentation

void MainWindowShare::contextMenu QPopupMenu ,
const Context
[private, slot]
 

Definition at line 505 of file mainwindowshare.cpp.

References contextMenu(), m_pMainWnd, and KMainWindow::menuBar().

Referenced by contextMenu(), and init().

void MainWindowShare::createActions  ) 
 

Definition at line 108 of file mainwindowshare.cpp.

References KXMLGUIClient::actionCollection(), MainWindowUtils::beautifyToolTip(), KStdAction::configureNotifications(), KStdAction::configureToolbars(), ProjectManager::createActions(), API::getInstance(), ProjectManager::getInstance(), gotoFirstWindow(), gotoLastWindow(), gotoNextWindow(), gotoPreviousWindow(), KStdAction::keyBindings(), m_configureEditorAction, m_pMainWnd, m_stopProcesses, m_toggleBrowserToolbar, m_toggleBuildToolbar, m_toggleMainToolbar, m_toggleStatusbar, m_toggleViewToolbar, API::partController(), KToolBarPopupAction::popupMenu(), KStdAction::preferences(), KStdAction::quit(), KAction::setEnabled(), KAction::setText(), KAction::setToolTip(), KAction::setWhatsThis(), KStdAction::showMenubar(), KStdAction::showToolbar(), slotActivePartChanged(), slotActiveProcessChanged(), slotConfigureEditors(), slotConfigureNotifications(), slotConfigureToolbars(), slotKeyBindings(), slotSettings(), slotShowMenuBar(), slotStopButtonPressed(), slotStopMenuAboutToShow(), slotStopPopupActivated(), slotToggleBrowserToolbar(), slotToggleBuildToolbar(), slotToggleMainToolbar(), slotToggleStatusbar(), and slotToggleViewToolbar().

Referenced by MainWindow::createActions().

void MainWindowShare::gotoFirstWindow  )  [signal]
 

Referenced by createActions().

void MainWindowShare::gotoLastWindow  )  [signal]
 

Referenced by createActions().

void MainWindowShare::gotoNextWindow  )  [signal]
 

Referenced by createActions().

void MainWindowShare::gotoPreviousWindow  )  [signal]
 

Referenced by createActions().

void MainWindowShare::init  ) 
 

Definition at line 86 of file mainwindowshare.cpp.

References KXMLGUIClient::actionCollection(), contextMenu(), m_pMainWnd, and slotActionStatusText().

Referenced by MainWindow::init().

void MainWindowShare::slotActionStatusText const QString text  )  [private, slot]
 

Definition at line 95 of file mainwindowshare.cpp.

References endl(), kdDebug(), m_pMainWnd, slotActionStatusText(), KMainWindow::statusBar(), and text().

Referenced by init(), and slotActionStatusText().

void MainWindowShare::slotActivePartChanged KParts::Part part  )  [private, slot]
 

Definition at line 514 of file mainwindowshare.cpp.

References m_configureEditorAction, KAction::setEnabled(), and slotActivePartChanged().

Referenced by createActions(), and slotActivePartChanged().

void MainWindowShare::slotActiveProcessChanged KDevPlugin ,
bool 
[private, slot]
 

Definition at line 267 of file mainwindowshare.cpp.

References activeProcesses, m_stopProcesses, KAction::setEnabled(), and slotActiveProcessChanged().

Referenced by createActions(), and slotActiveProcessChanged().

void MainWindowShare::slotConfigureEditors  )  [private, slot]
 

Definition at line 393 of file mainwindowshare.cpp.

References KParts::PartManager::activePart(), KTextEditor::ConfigInterface::configDialog(), endl(), API::getInstance(), kdDebug(), API::partController(), KParts::PartManager::parts(), KTextEditor::ConfigInterface::readConfig(), and KTextEditor::ConfigInterface::writeConfig().

Referenced by createActions().

void MainWindowShare::slotConfigureNotifications  )  [private, slot]
 

Definition at line 319 of file mainwindowshare.cpp.

References m_pMainWnd.

Referenced by createActions().

void MainWindowShare::slotConfigureToolbars  )  [private, slot]
 

Definition at line 497 of file mainwindowshare.cpp.

References KXMLGUIClient::factory(), m_pMainWnd, KMainWindow::saveMainWindowSettings(), and slotNewToolbarConfig().

Referenced by createActions().

void MainWindowShare::slotGUICreated KParts::Part  )  [slot]
 

Definition at line 428 of file mainwindowshare.cpp.

References KXMLGUIClient::action(), endl(), kdDebug(), m_configureEditorAction, KAction::setEnabled(), and slotGUICreated().

Referenced by MainWindow::createGUI(), and slotGUICreated().

void MainWindowShare::slotKeyBindings  )  [private, slot]
 

Definition at line 462 of file mainwindowshare.cpp.

References KXMLGUIFactory::clients(), KKeyDialog::configure(), PartController::getInstance(), KMainWindow::guiFactory(), KKeyDialog::insert(), m_pMainWnd, KParts::PartManager::parts(), KXMLGUIClient::reloadXML(), and KTextEditor::Document::views().

Referenced by createActions().

void MainWindowShare::slotNewToolbarConfig  )  [private, slot]
 

Definition at line 453 of file mainwindowshare.cpp.

References KMainWindow::applyMainWindowSettings(), PartController::getInstance(), m_pMainWnd, and PartController::reinstallPopups().

Referenced by slotConfigureToolbars().

void MainWindowShare::slotReportBug  )  [private, slot]
 

Definition at line 215 of file mainwindowshare.cpp.

References m_pMainWnd.

void MainWindowShare::slotSettings  )  [private, slot]
 

Definition at line 326 of file mainwindowshare.cpp.

References KDialogBase::addVBoxPage(), SettingsWidget::applicationFont(), SettingsWidget::changeApplicationFontButton, SettingsWidget::changeMessageFontButton, SettingsWidget::compilerOutputButtonGroup, SettingsWidget::dirNavigMsgCheckBox, Core::doEmitConfigWidget(), API::getInstance(), Core::getInstance(), SettingsWidget::lastProjectCheckbox, SettingsWidget::lineWrappingCheckBox, m_pMainWnd, KDevApi::makeFrontend(), SettingsWidget::messageFont(), SettingsWidget::projects_url, KConfigBase::readBoolEntry(), KConfigBase::readFontEntry(), KConfigBase::readNumEntry(), KConfigBase::readPathEntry(), SettingsWidget::setApplicationFont(), KConfigBase::setGroup(), SettingsWidget::setMessageFont(), KURLRequester::setMode(), KURLRequester::setURL(), KConfigBase::sync(), KDevMakeFrontend::updateSettingsFromConfig(), KURLRequester::url, KConfigBase::writeEntry(), and KConfigBase::writePathEntry().

Referenced by createActions().

void MainWindowShare::slotShowMenuBar  )  [private, slot]
 

Definition at line 309 of file mainwindowshare.cpp.

References m_pMainWnd, KMainWindow::menuBar(), KMainWindow::saveMainWindowSettings(), and KMenuBar::show().

Referenced by createActions().

void MainWindowShare::slotStopButtonPressed  )  [private, slot]
 

Definition at line 262 of file mainwindowshare.cpp.

References Core::doEmitStopButtonPressed(), and Core::getInstance().

Referenced by createActions().

void MainWindowShare::slotStopMenuAboutToShow  )  [private, slot]
 

Definition at line 298 of file mainwindowshare.cpp.

References activeProcesses, m_stopProcesses, KDevPlugin::pluginName(), and KToolBarPopupAction::popupMenu().

Referenced by createActions().

void MainWindowShare::slotStopPopupActivated int   )  [private, slot]
 

Definition at line 280 of file mainwindowshare.cpp.

References activeProcesses, Core::doEmitStopButtonPressed(), Core::getInstance(), m_stopProcesses, KDevPlugin::pluginName(), KToolBarPopupAction::popupMenu(), and slotStopPopupActivated().

Referenced by createActions(), and slotStopPopupActivated().

void MainWindowShare::slotToggleBrowserToolbar  )  [private, slot]
 

Definition at line 245 of file mainwindowshare.cpp.

References KToolBar::hide(), KToggleAction::isChecked(), m_pMainWnd, m_toggleBrowserToolbar, KToolBar::show(), and KMainWindow::toolBar().

Referenced by createActions().

void MainWindowShare::slotToggleBuildToolbar  )  [private, slot]
 

Definition at line 229 of file mainwindowshare.cpp.

References KToolBar::hide(), KToggleAction::isChecked(), m_pMainWnd, m_toggleBuildToolbar, KToolBar::show(), and KMainWindow::toolBar().

Referenced by createActions().

void MainWindowShare::slotToggleMainToolbar  )  [private, slot]
 

Definition at line 221 of file mainwindowshare.cpp.

References KToolBar::hide(), KToggleAction::isChecked(), m_pMainWnd, m_toggleMainToolbar, KToolBar::show(), and KMainWindow::toolBar().

Referenced by createActions().

void MainWindowShare::slotToggleStatusbar  )  [private, slot]
 

Definition at line 253 of file mainwindowshare.cpp.

References KToggleAction::isChecked(), m_pMainWnd, m_toggleStatusbar, and KMainWindow::statusBar().

Referenced by createActions().

void MainWindowShare::slotToggleViewToolbar  )  [private, slot]
 

Definition at line 237 of file mainwindowshare.cpp.

References KToolBar::hide(), KToggleAction::isChecked(), m_pMainWnd, m_toggleViewToolbar, KToolBar::show(), and KMainWindow::toolBar().

Referenced by createActions().


Member Data Documentation

QPtrList<KDevPlugin> MainWindowShare::activeProcesses [private]
 

Definition at line 83 of file mainwindowshare.h.

Referenced by slotActiveProcessChanged(), slotStopMenuAboutToShow(), and slotStopPopupActivated().

KAction* MainWindowShare::m_configureEditorAction [private]
 

Definition at line 78 of file mainwindowshare.h.

Referenced by createActions(), slotActivePartChanged(), and slotGUICreated().

KParts::MainWindow* MainWindowShare::m_pMainWnd [private]
 

Definition at line 82 of file mainwindowshare.h.

Referenced by contextMenu(), createActions(), init(), MainWindowShare(), slotActionStatusText(), slotConfigureNotifications(), slotConfigureToolbars(), slotKeyBindings(), slotNewToolbarConfig(), slotReportBug(), slotSettings(), slotShowMenuBar(), slotToggleBrowserToolbar(), slotToggleBuildToolbar(), slotToggleMainToolbar(), slotToggleStatusbar(), and slotToggleViewToolbar().

KToolBarPopupAction* MainWindowShare::m_stopProcesses [private]
 

Stops all running processes.

Definition at line 80 of file mainwindowshare.h.

Referenced by createActions(), slotActiveProcessChanged(), slotStopMenuAboutToShow(), and slotStopPopupActivated().

KToggleAction* MainWindowShare::m_toggleBrowserToolbar [private]
 

Definition at line 75 of file mainwindowshare.h.

Referenced by createActions(), and slotToggleBrowserToolbar().

KToggleAction* MainWindowShare::m_toggleBuildToolbar [private]
 

Definition at line 73 of file mainwindowshare.h.

Referenced by createActions(), and slotToggleBuildToolbar().

KToggleAction* MainWindowShare::m_toggleMainToolbar [private]
 

Definition at line 72 of file mainwindowshare.h.

Referenced by createActions(), and slotToggleMainToolbar().

KToggleAction* MainWindowShare::m_toggleStatusbar [private]
 

Definition at line 76 of file mainwindowshare.h.

Referenced by createActions(), and slotToggleStatusbar().

KToggleAction* MainWindowShare::m_toggleViewToolbar [private]
 

Definition at line 74 of file mainwindowshare.h.

Referenced by createActions(), and slotToggleViewToolbar().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:26 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003