24 #include <tdeaboutdata.h>
25 #include <kgenericfactory.h>
26 #include <tdeparts/componentfactory.h>
29 #include "summarywidget.h"
31 #include "kpilot_plugin.h"
33 typedef KGenericFactory< KPilotPlugin, Kontact::Core > KPilotPluginFactory;
34 K_EXPORT_COMPONENT_FACTORY( libkontact_kpilotplugin,
35 KPilotPluginFactory( "kontact_kpilotplugin" ) )
37 KPilotPlugin::KPilotPlugin( Kontact::Core *core, const char *name, const TQStringList& )
38 : Kontact::Plugin( core, core, "kpilot" ), mAboutData( 0 )
40 setInstance( KPilotPluginFactory::instance() );
46 KPilotPlugin::~KPilotPlugin()
50 Kontact::Summary *KPilotPlugin::createSummaryWidget( TQWidget *parentWidget )
52 return new SummaryWidget( parentWidget );
55 const TDEAboutData *KPilotPlugin::aboutData()
58 mAboutData = new TDEAboutData( "kpilotplugin", I18N_NOOP( "KPilot Information"),
60 I18N_NOOP( "KPilot - HotSync software for TDE\n\n"),
61 TDEAboutData::License_GPL, "(c) 2004 Reinhold Kainhofer");
62 mAboutData->addAuthor( "Reinhold Kainhofer",
63 I18N_NOOP( "Plugin Developer"), "reinhold@kainhofer.com", "http://reinhold.kainhofer.com/Linux/");
64 mAboutData->addAuthor( "Dan Pilone",
65 I18N_NOOP( "Project Leader"),
66 0, "http://www.kpilot.org/");
67 mAboutData->addAuthor( "Adriaan de Groot",
68 I18N_NOOP( "Maintainer"),
69 "groot@kde.org", "http://people.fruitsalad.org/adridg/");
Summary widget for display in the Summary View plugin.
|