Kontact Plugin Interface Library
KontactInterface::Core Class Reference
The abstract interface that represents the Kontact core. More...
#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.
Definition at line 40 of file core.h.
Constructor & Destructor Documentation
Core::Core | ( | QWidget * | parent = 0 , |
|
Qt::WindowFlags | flags = KDE_DEFAULT_WINDOWFLAGS | |||
) | [explicit, protected] |
Member Function Documentation
KParts::ReadOnlyPart * Core::createPart | ( | const char * | library | ) |
void KontactInterface::Core::dayChanged | ( | const QDate & | date | ) | [signal] |
This signal is emitted whenever a new day starts.
- Parameters:
-
date The date of the new day
QString Core::lastErrorMessage | ( | ) | const [protected] |
virtual void KontactInterface::Core::partLoaded | ( | Plugin * | plugin, | |
KParts::ReadOnlyPart * | part | |||
) | [pure virtual] |
virtual QList<KontactInterface::Plugin*> KontactInterface::Core::pluginList | ( | ) | const [pure virtual] |
Returns the pointer list of available plugins.
virtual void KontactInterface::Core::selectPlugin | ( | KontactInterface::Plugin * | plugin | ) | [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.
virtual void KontactInterface::Core::selectPlugin | ( | const QString & | plugin | ) | [pure virtual] |
This is an overloaded member function.
- Parameters:
-
plugin is the name of the Kontact Plugin select.
The documentation for this class was generated from the following files: