21 #include <kgenericfactory.h>
22 #include <tdelocale.h>
23 #include <tdeparts/componentfactory.h>
26 #include "summarywidget.h"
28 #include "newsticker_plugin.h"
30 typedef KGenericFactory< NewsTickerPlugin, Kontact::Core > NewsTickerPluginFactory;
31 K_EXPORT_COMPONENT_FACTORY( libkontact_newstickerplugin,
32 NewsTickerPluginFactory( "kontact_newstickerplugin" ) )
34 NewsTickerPlugin::NewsTickerPlugin( Kontact::Core *core, const char *name, const TQStringList& )
35 : Kontact::Plugin( core, core, name )
37 setInstance( NewsTickerPluginFactory::instance() );
40 NewsTickerPlugin::~NewsTickerPlugin()
44 Kontact::Summary *NewsTickerPlugin::createSummaryWidget( TQWidget* parentWidget )
46 return new SummaryWidget( parentWidget );
Summary widget for display in the Summary View plugin.
|