23 #ifndef KONTACT_CORE_H
24 #define KONTACT_CORE_H
26 #include <tqdatetime.h>
27 #include <tdemacros.h>
28 #include <tdeparts/mainwindow.h>
29 #include <tdeparts/part.h>
41 class TDE_EXPORT
Core :
public KParts::MainWindow
58 virtual void selectPlugin(
const TQString &plugin ) = 0;
63 virtual TQValueList<Kontact::Plugin*> pluginList()
const = 0;
68 KParts::ReadOnlyPart *createPart(
const char *libname );
74 virtual void partLoaded(
Plugin* plugin, KParts::ReadOnlyPart * part ) = 0;
80 void dayChanged(
const TQDate& );
83 Core( TQWidget *parentWidget = 0,
const char *name = 0 );
85 TQString lastErrorMessage()
const;
88 void slotPartDestroyed( TQObject * );
92 TQMap<TQCString,KParts::ReadOnlyPart *> mParts;
Base class for all Plugins in Kontact.
This class provides the interface to the Kontact core for the plugins.