• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdevelop API Reference
  • KDE Home
  • Contact Us
 

kdevplatform/interfaces

  • KDevelop
  • ICore
Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes | Properties | List of all members
KDevelop::ICore Class Referenceabstract

#include <icore.h>

Inheritance diagram for KDevelop::ICore:
Inheritance graph
[legend]

Signals

void aboutToShutdown ()
 
void initializationCompleted ()
 
void shutdownCompleted ()
 

Public Member Functions

 ~ICore () override
 
virtual KDevelop::ISession * activeSession ()=0
 
virtual KDevelop::ISessionLock::Ptr activeSessionLock ()=0
 
virtual KDevelop::IDebugController * debugController ()=0
 
virtual KDevelop::IDocumentationController * documentationController ()=0
 
virtual KDevelop::IDocumentController * documentController ()=0
 
virtual KDevelop::ILanguageController * languageController ()=0
 
virtual KDevelop::IPartController * partController ()=0
 
virtual KDevelop::IPluginController * pluginController ()=0
 
virtual KDevelop::IProjectController * projectController ()=0
 
virtual KDevelop::IRunController * runController ()=0
 
virtual Q_SCRIPTABLE KDevelop::IRuntimeController * runtimeController ()=0
 
virtual KDevelop::ISelectionController * selectionController ()=0
 
virtual bool shuttingDown () const =0
 
virtual KDevelop::ISourceFormatterController * sourceFormatterController ()=0
 
virtual KDevelop::ITestController * testController ()=0
 
virtual KDevelop::IUiController * uiController ()=0
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Static Public Member Functions

static ICore * self ()
 
- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 

Protected Member Functions

 ICore (QObject *parent=nullptr)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Static Protected Attributes

static ICore * m_self = nullptr
 

Properties

KDevelop::IProjectController projectController
 
- Properties inherited from QObject
 objectName
 

Additional Inherited Members

- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 

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 70 of file icore.h.

Constructor & Destructor Documentation

◆ ~ICore()

KDevelop::ICore::~ICore ( )
override

Definition at line 34 of file icore.cpp.

◆ ICore()

KDevelop::ICore::ICore ( QObject *  parent = nullptr)
explicitprotected

Definition at line 27 of file icore.cpp.

Member Function Documentation

◆ aboutToShutdown

void KDevelop::ICore::aboutToShutdown ( )
signal

Emitted immediately before tearing down the session and UI.

Useful when performing any last minute preparations such as saving settings.

◆ activeSession()

virtual KDevelop::ISession* KDevelop::ICore::activeSession ( )
pure virtual
Returns
the active session

◆ activeSessionLock()

virtual KDevelop::ISessionLock::Ptr KDevelop::ICore::activeSessionLock ( )
pure virtual
Returns
the session lock for the active session

◆ debugController()

virtual KDevelop::IDebugController* KDevelop::ICore::debugController ( )
pure virtual
Returns
the debug controller

◆ documentationController()

virtual KDevelop::IDocumentationController* KDevelop::ICore::documentationController ( )
pure virtual
Returns
the documentation controller

◆ documentController()

virtual KDevelop::IDocumentController* KDevelop::ICore::documentController ( )
pure virtual
Returns
document controller

◆ initializationCompleted

void KDevelop::ICore::initializationCompleted ( )
signal

Emitted when the initialization of the core components has been completed.

◆ languageController()

virtual KDevelop::ILanguageController* KDevelop::ICore::languageController ( )
pure virtual
Returns
language controller

◆ partController()

virtual KDevelop::IPartController* KDevelop::ICore::partController ( )
pure virtual
Returns
part manager

◆ pluginController()

virtual KDevelop::IPluginController* KDevelop::ICore::pluginController ( )
pure virtual
Returns
plugin controller

◆ projectController()

virtual KDevelop::IProjectController* KDevelop::ICore::projectController ( )
pure virtual
Returns
project controller

◆ runController()

virtual KDevelop::IRunController* KDevelop::ICore::runController ( )
pure virtual
Returns
run controller

◆ runtimeController()

virtual Q_SCRIPTABLE KDevelop::IRuntimeController* KDevelop::ICore::runtimeController ( )
pure virtual
Returns
the runtime controller

◆ selectionController()

virtual KDevelop::ISelectionController* KDevelop::ICore::selectionController ( )
pure virtual
Returns
the selection controller

◆ self()

ICore * KDevelop::ICore::self ( )
static
Returns
the static ICore instance

Definition at line 39 of file icore.cpp.

◆ shutdownCompleted

void KDevelop::ICore::shutdownCompleted ( )
signal

Emitted when the teardown of the core components has been completed.

◆ shuttingDown()

virtual bool KDevelop::ICore::shuttingDown ( ) const
pure virtual
Returns
true if the application is currently being shut down

◆ sourceFormatterController()

virtual KDevelop::ISourceFormatterController* KDevelop::ICore::sourceFormatterController ( )
pure virtual
Returns
the sourceformatter controller

◆ testController()

virtual KDevelop::ITestController* KDevelop::ICore::testController ( )
pure virtual
Returns
the test controller

◆ uiController()

virtual KDevelop::IUiController* KDevelop::ICore::uiController ( )
pure virtual
Returns
ui controller

Member Data Documentation

◆ m_self

ICore * KDevelop::ICore::m_self = nullptr
staticprotected

Definition at line 144 of file icore.h.

Property Documentation

◆ projectController

KDevelop::IProjectController KDevelop::ICore::projectController
read

Definition at line 73 of file icore.h.


The documentation for this class was generated from the following files:
  • icore.h
  • icore.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:36:26 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kdevplatform/interfaces

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

kdevelop API Reference

Skip menu "kdevelop API Reference"
  • kdevplatform
  •   debugger
  •   documentation
  •   interfaces
  •   language
  •     assistant
  •     backgroundparser
  •     checks
  •     classmodel
  •     codecompletion
  •     codegen
  •     duchain
  •     editor
  •     highlighting
  •     interfaces
  •     util
  •   outputview
  •   project
  •   serialization
  •   shell
  •   sublime
  •   tests
  •   util
  •   vcs

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal