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