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
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;
83 Core( TQWidget *parentWidget = 0, const char *name = 0 );
85 TQString lastErrorMessage() const;
88 void slotPartDestroyed( TQObject * );
92 TQMap<TQCString,KParts::ReadOnlyPart *> mParts;
This class provides the interface to the Kontact core for the plugins.
void dayChanged(const TQDate &) Emitted when a new day starts.
virtual void selectPlugin(Kontact::Plugin *plugin)=0 Selects the given plugin.
virtual void selectPlugin(const TQString &plugin)=0 This is an overloaded member function.
virtual TQValueList< Kontact::Plugin * > pluginList() const =0 Returns the pointer list of available plugins.
Base class for all Plugins in Kontact.
|