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 | |
virtual QDict< KDevLicense > | licenses () |
Returns a list of all available licenses. | |
void | loadLicenses () |
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 () | |
Private Attributes | |
QDict< KDevLicense > | m_licenses |
Static Private Attributes | |
Core * | s_instance = 0 |
Constructor & Destructor Documentation
|
|
|
|
Member Function Documentation
|
Referenced by running(). |
|
Definition at line 40 of file core.h. References KDevCore::configWidget(). Referenced by MainWindowShare::slotSettings(). |
|
Definition at line 38 of file core.h. References KDevCore::coreInitialized(). Referenced by main(). |
|
Definition at line 37 of file core.h. References KDevCore::languageChanged(). Referenced by ProjectManager::switchLanguage(). |
|
Definition at line 36 of file core.h. References KDevCore::projectClosed(). Referenced by ProjectManager::closeProject(). |
|
Definition at line 39 of file core.h. References KDevCore::projectConfigWidget(). Referenced by ProjectManager::slotProjectOptions(). |
|
Definition at line 35 of file core.h. References KDevCore::projectOpened(). Referenced by ProjectManager::slotLoadProject(). |
|
Definition at line 41 of file core.h. References KDevCore::stopButtonClicked(). Referenced by 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 75 of file core.cpp. References KDevCore::contextMenu(). Referenced by EditorProxy::popupAboutToShow(), and NewMainWindow::tabContext(). |
|
|
Implements KDevCore. |
|
Returns a list of all available licenses.
Implements KDevCore. |
|
Definition at line 91 of file core.cpp. References KStandardDirs::addResourceType(), KGlobal::dirs(), KStandardDirs::findAllResources(), KStandardDirs::findResource(), and m_licenses. Referenced by NewMainWindow::init(). |
|
close the current project and opens the new one
Implements KDevCore. Definition at line 81 of file core.cpp. References ProjectManager::getInstance(), and ProjectManager::loadProject(). |
|
Definition at line 49 of file core.cpp. References ProjectManager::closeProject(), ProjectManager::getInstance(), PartController::getInstance(), PartController::querySaveFiles(), PartController::readyToClose(), KConfigBase::setGroup(), and KConfigBase::writePathEntry(). Referenced by NewMainWindow::queryClose(), and 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 69 of file core.cpp. References activeProcessChanged(). |
Member Data Documentation
|
Definition at line 57 of file core.h. Referenced by loadLicenses(). |
|
Definition at line 22 of file core.cpp. Referenced by getInstance(). |
The documentation for this class was generated from the following files: