KontactInterface::Core
KontactInterface::Core Class Referenceabstract
#include <core.h>
Inheritance diagram for KontactInterface::Core:
Signals | |
void | dayChanged (const QDate &date) |
Public Member Functions | |
~Core () override | |
KParts::Part * | createPart (const char *library) |
virtual void | partLoaded (Plugin *plugin, KParts::Part *part)=0 |
virtual QList< KontactInterface::Plugin * > | pluginList () const =0 |
virtual void | selectPlugin (const QString &plugin)=0 |
virtual void | selectPlugin (KontactInterface::Plugin *plugin)=0 |
Public Member Functions inherited from KParts::MainWindow | |
MainWindow (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
Public Member Functions inherited from KParts::PartBase | |
void | setPartObject (QObject *object) |
Protected Member Functions | |
Core (QWidget *parent=nullptr, Qt::WindowFlags flags={}) | |
QString | lastErrorMessage () const |
Additional Inherited Members | |
Protected Slots inherited from KParts::MainWindow | |
void | createGUI (KParts::Part *part) |
void | saveNewToolbarConfig () override |
void | setWindowTitleHandling (bool enabled) |
virtual void | slotSetStatusBarText (const QString &) |
Detailed Description
The abstract interface that represents the Kontact core.
This class provides the interface to the Kontact core for the plugins.
Constructor & Destructor Documentation
◆ ~Core()
|
overridedefault |
Destroys the core object.
◆ Core()
|
explicitprotected |
Member Function Documentation
◆ createPart()
|
nodiscard |
◆ dayChanged
|
signal |
This signal is emitted whenever a new day starts.
- Parameters
-
date The date of the new day
◆ lastErrorMessage()
|
protected |
◆ partLoaded()
|
pure virtual |
(for Plugin)
Tells the kontact core that a part has been loaded.
◆ pluginList()
|
pure virtual |
Returns the pointer list of available plugins.
◆ selectPlugin() [1/2]
|
pure virtual |
This is an overloaded member function.
- Parameters
-
plugin is the name of the Kontact Plugin select.
◆ selectPlugin() [2/2]
|
pure virtual |
Selects the given plugin and raises the associated part.
- See also
- selectPlugin(const QString &)
- Parameters
-
plugin is a pointer to the Kontact Plugin to select.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:48:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:48:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.