Kontact Plugin Interface Library
KontactInterface::Core Class Referenceabstract
#include <core.h>
Inherits KParts::MainWindow.
Signals | |
void | dayChanged (const QDate &date) |
Public Member Functions | |
virtual | ~Core () |
KParts::ReadOnlyPart * | createPart (const char *library) |
virtual void | partLoaded (Plugin *plugin, KParts::ReadOnlyPart *part)=0 |
virtual QList< KontactInterface::Plugin * > | pluginList () const =0 |
virtual void | selectPlugin (const QString &plugin)=0 |
virtual void | selectPlugin (KontactInterface::Plugin *plugin)=0 |
Protected Member Functions | |
Core (QWidget *parent=0, Qt::WindowFlags flags=KDE_DEFAULT_WINDOWFLAGS) | |
QString | lastErrorMessage () const |
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()
◆ Core()
|
explicitprotected |
Member Function Documentation
◆ createPart()
KParts::ReadOnlyPart * Core::createPart | ( | const char * | library | ) |
◆ 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-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.