• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

interfaces

KDevelop::ICore

KDevelop::ICore Class Reference

#include <icore.h>

Inheritance diagram for KDevelop::ICore:

Inheritance graph
[legend]

List of all members.


Detailed Description

ICore is the container class for all the various objects in use by KDevelop.

If access is needed to a particular controller, then this class should be used.

ICore can provide the user with instances of the following things:

  • the main window(s)
    • the document controller(s)
  • the plugin controller
  • the project controller
  • the language controller
  • the KPart manager

When an object is provided to ICore so it can be used later, ICore will take ownership of the object and upon application shutdown will take responsibility for deleting the objects stored by ICore.

Definition at line 66 of file icore.h.


Public Member Functions

virtual Q_SCRIPTABLE
KDevelop::ISession * 
activeSession ()=0
virtual Q_SCRIPTABLE
KDevelop::IDocumentController * 
documentController ()=0
virtual Q_SCRIPTABLE
KDevelop::ILanguageController * 
languageController ()=0
virtual Q_SCRIPTABLE
KParts::PartManager * 
partManager ()=0
virtual Q_SCRIPTABLE
KDevelop::IPluginController * 
pluginController ()=0
virtual Q_SCRIPTABLE
KDevelop::IProjectController * 
projectController ()=0
virtual Q_SCRIPTABLE
KDevelop::IRunController * 
runController ()=0
virtual Q_SCRIPTABLE
KDevelop::IUiController * 
uiController ()=0

Static Public Member Functions

static ICore * self ()

Protected Member Functions

 ICore (QObject *parent=0)

Static Protected Attributes

static ICore * m_self = 0

Member Function Documentation

virtual Q_SCRIPTABLE KDevelop::ISession* KDevelop::ICore::activeSession (  )  [pure virtual]

Returns:
the active session

virtual Q_SCRIPTABLE KDevelop::IDocumentController* KDevelop::ICore::documentController (  )  [pure virtual]

Returns:
document controller

virtual Q_SCRIPTABLE KDevelop::ILanguageController* KDevelop::ICore::languageController (  )  [pure virtual]

Returns:
language controller

virtual Q_SCRIPTABLE KParts::PartManager* KDevelop::ICore::partManager (  )  [pure virtual]

Returns:
part manager

virtual Q_SCRIPTABLE KDevelop::IPluginController* KDevelop::ICore::pluginController (  )  [pure virtual]

Returns:
plugin controller

virtual Q_SCRIPTABLE KDevelop::IProjectController* KDevelop::ICore::projectController (  )  [pure virtual]

Returns:
project controller

virtual Q_SCRIPTABLE KDevelop::IRunController* KDevelop::ICore::runController (  )  [pure virtual]

Returns:
run controller

ICore * KDevelop::ICore::self (  )  [static]

Returns:
the static ICore instance

Definition at line 40 of file icore.cpp.

virtual Q_SCRIPTABLE KDevelop::IUiController* KDevelop::ICore::uiController (  )  [pure virtual]

Returns:
ui controller


The documentation for this class was generated from the following files:
  • icore.h
  • icore.cpp

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  •     interfaces
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal