Core Class Reference
#include <core.h>
Inheritance diagram for Core:

Signals | |
void | activeProcessChanged (KDevPlugin *which, bool runs) |
Public Member Functions | |
~Core () | |
virtual void | insertNewAction (KAction *action) |
virtual void | running (KDevPlugin *which, bool runs) |
Marks the component as running (or not running). | |
virtual void | fillContextMenu (QPopupMenu *popup, const Context *context) |
This method should be called by a part that wants to show a context menu. | |
virtual void | openProject (const QString &projectFileName) |
close the current project and opens the new one | |
void | doEmitProjectOpened () |
void | doEmitProjectClosed () |
void | doEmitLanguageChanged () |
void | doEmitCoreInitialized () |
void | doEmitProjectConfigWidget (KDialogBase *base) |
void | doEmitConfigWidget (KDialogBase *base) |
void | doEmitStopButtonPressed (KDevPlugin *which=0) |
bool | queryClose () |
Static Public Member Functions | |
Core * | getInstance () |
Protected Member Functions | |
Core () | |
Static Private Attributes | |
Core * | s_instance = 0 |
Constructor & Destructor Documentation
|
|
|
|
Member Function Documentation
|
Referenced by running(). |
|
Definition at line 38 of file core.h. References doEmitConfigWidget(). Referenced by doEmitConfigWidget(), and MainWindowShare::slotSettings(). |
|
Definition at line 36 of file core.h. References KDevCore::coreInitialized(). Referenced by main(). |
|
Definition at line 35 of file core.h. References KDevCore::languageChanged(). Referenced by ProjectManager::switchLanguage(). |
|
Definition at line 34 of file core.h. References KDevCore::projectClosed(). Referenced by ProjectManager::closeProject(). |
|
Definition at line 37 of file core.h. References doEmitProjectConfigWidget(). Referenced by doEmitProjectConfigWidget(), and ProjectManager::slotProjectOptions(). |
|
Definition at line 33 of file core.h. References KDevCore::projectOpened(). Referenced by ProjectManager::loadProject(). |
|
Definition at line 39 of file core.h. References doEmitStopButtonPressed(). Referenced by doEmitStopButtonPressed(), MainWindowShare::slotStopButtonPressed(), and MainWindowShare::slotStopPopupActivated(). |
|
This method should be called by a part that wants to show a context menu.
The parameter Implements KDevCore. Definition at line 81 of file core.cpp. References fillContextMenu(). Referenced by fillContextMenu(), and EditorProxy::popupAboutToShow(). |
|
|
Implements KDevCore. Definition at line 42 of file core.cpp. References insertNewAction(). Referenced by insertNewAction(). |
|
close the current project and opens the new one
Implements KDevCore. Definition at line 87 of file core.cpp. References ProjectManager::getInstance(), ProjectManager::loadProject(), and openProject(). Referenced by openProject(). |
|
Definition at line 48 of file core.cpp. References ProjectManager::closeProject(), PartController::getInstance(), ProjectManager::getInstance(), ProjectManager::projectLoaded(), PartController::readyToClose(), KConfigBase::setGroup(), KConfigBase::writeEntry(), and KConfigBase::writePathEntry(). Referenced by MainWindow::queryClose(). |
|
Marks the component as running (or not running). As long as at least one component is running, the stop button is enabled. When it is pressed, all components get a stopButtonClicked(). Implements KDevCore. Definition at line 75 of file core.cpp. References activeProcessChanged(), and running(). Referenced by running(). |
Member Data Documentation
|
Definition at line 21 of file core.cpp. Referenced by getInstance(). |
The documentation for this class was generated from the following files: