KDevCore Class Reference
A KDevCore class defines an object which is used to realized the cooperation between the various plug-in which compose KDevelop: it defines virtual function, signals that can be captured for menu customization, GUI utility functions for adding new KActions, ... More...
#include <kdevcore.h>
Inheritance diagram for KDevCore:

Public Types | |
enum | Embedding { Replace, SplitHorizontal, SplitVertical } |
An enumeration that specifies the behaviour of the methods gotoSourceFile() and gotoDocumentationFile(). More... | |
Signals | |
void | coreInitialized () |
Emitted after the core has done all initializations and the main window has been shown. | |
void | projectOpened () |
A project has been opened. | |
void | projectClosed () |
The project is about to be closed. | |
void | languageChanged () |
The language support part has been changed. | |
void | stopButtonClicked (KDevPlugin *which) |
The user has clicked the stop button. | |
void | contextMenu (QPopupMenu *popupMenu, const Context *context) |
A context menu has been requested somewhere. | |
void | configWidget (KDialogBase *dlg) |
Expects that a configuration page for use in the KDevelop settings dialog is created by the component. | |
void | projectConfigWidget (KDialogBase *dlg) |
Expects that a configuration page for use in the Project settings dialog is created by the component. | |
Public Member Functions | |
KDevCore (QObject *parent=0, const char *name=0) | |
Constructor. | |
virtual | ~KDevCore () |
Destructor. | |
virtual void | insertNewAction (KAction *action)=0 |
virtual void | fillContextMenu (QPopupMenu *popup, const Context *context)=0 |
This method should be called by a part that wants to show a context menu. | |
virtual void | openProject (const QString &projectFileName)=0 |
close the current project and opens the new one | |
virtual void | running (KDevPlugin *which, bool runs)=0 |
Marks the component as running (or not running). |
Detailed Description
A KDevCore class defines an object which is used to realized the cooperation between the various plug-in which compose KDevelop: it defines virtual function, signals that can be captured for menu customization, GUI utility functions for adding new KActions, ...
Definition at line 293 of file kdevcore.h.
Member Enumeration Documentation
|
An enumeration that specifies the behaviour of the methods gotoSourceFile() and gotoDocumentationFile().
Definition at line 302 of file kdevcore.h. |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 336 of file kdevcore.cpp. References KDevCore(). Referenced by KDevCore(). |
|
Destructor.
Definition at line 344 of file kdevcore.cpp. |
Member Function Documentation
|
Expects that a configuration page for use in the KDevelop settings dialog is created by the component.
|
|
A context menu has been requested somewhere.
Components may hook some entries into it. More information on the context can be obtained by looking for the type of |
|
Emitted after the core has done all initializations and the main window has been shown.
Referenced by Core::doEmitCoreInitialized(). |
|
This method should be called by a part that wants to show a context menu.
The parameter Implemented in Core. Referenced by KDevDirOperator::activatedMenu(), ClassViewWidget::contentsContextMenuEvent(), FileTreeWidget::slotContextMenu(), FileGroupsWidget::slotContextMenu(), DocTreeViewWidget::slotContextMenu(), TrollProjectWidget::slotDetailsContextMenu(), and AutoDetailsView::slotDetailsContextMenu(). |
|
Implemented in Core. Referenced by ScriptingPart::addMenuItem(). |
|
The language support part has been changed.
Referenced by Core::doEmitLanguageChanged(). |
|
close the current project and opens the new one
Implemented in Core. Referenced by ImportDialog::accept(), and AppWizardPart::slotCommandFinished(). |
|
The project is about to be closed.
Referenced by Core::doEmitProjectClosed(). |
|
Expects that a configuration page for use in the Project settings dialog is created by the component.
|
|
A project has been opened.
Referenced by Core::doEmitProjectOpened(). |
|
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(). Implemented in Core. Referenced by CvsProcessWidget::cancelJob(), GrepViewWidget::childFinished(), ReplaceWidget::makeReplacements(), ValgrindPart::processExited(), ValgrindPart::runValgrind(), GrepViewWidget::searchActivated(), ReplaceWidget::showReplacements(), CvsServicePartImpl::slotDiffFinished(), CvsProcessWidget::slotJobExited(), MakeWidget::slotProcessExited(), AppOutputViewPart::slotProcessExited(), JAVADebugger::JavaDebuggerPart::slotStop(), GDBDebugger::DebuggerPart::slotStopDebugger(), AppOutputViewPart::startAppCommand(), JAVADebugger::JavaDebuggerPart::startDebugger(), GDBDebugger::DebuggerPart::startDebugger(), CvsProcessWidget::startJob(), MakeWidget::startNextJob(), and AppOutputViewPart::stopApplication(). |
|
The user has clicked the stop button.
|
The documentation for this class was generated from the following files:
- lib/interfaces/kdevcore.h
- lib/interfaces/kdevcore.cpp