25 #include <tdeaboutdata.h>
26 #include <kgenericfactory.h>
27 #include <kiconloader.h>
28 #include <tdelocale.h>
29 #include <tdeparts/componentfactory.h>
32 #include "sdsummarywidget.h"
34 #include "specialdates_plugin.h"
36 typedef KGenericFactory< SpecialdatesPlugin, Kontact::Core > SpecialdatesPluginFactory;
37 K_EXPORT_COMPONENT_FACTORY( libkontact_specialdatesplugin,
38 SpecialdatesPluginFactory( "kontact_specialdatesplugin" ) )
40 SpecialdatesPlugin::SpecialdatesPlugin( Kontact::Core *core, const char *name, const TQStringList& )
41 : Kontact::Plugin( core, core, name ),
44 setInstance( SpecialdatesPluginFactory::instance() );
45 instance()->iconLoader()->addAppDir( "tdepim" );
48 SpecialdatesPlugin::~SpecialdatesPlugin()
52 Kontact::Summary *SpecialdatesPlugin::createSummaryWidget( TQWidget *parentWidget )
54 return new SDSummaryWidget( this, parentWidget );
57 const TDEAboutData *SpecialdatesPlugin::aboutData()
60 mAboutData = new TDEAboutData( "specialdates",
61 I18N_NOOP( "Special Dates Summary" ),
63 I18N_NOOP( "Kontact Special Dates Summary" ),
64 TDEAboutData::License_LGPL,
65 I18N_NOOP( "(c) 2004-2005 The KDE PIM Team" ) );
66 mAboutData->addAuthor( "Allen Winter", "Current Maintainer", "winter@kde.org" );
67 mAboutData->addAuthor( "Tobias Koenig", "", "tokoe@kde.org" );
68 mAboutData->setProductName( "kontact/specialdates" );
Summary widget for display in the Summary View plugin.
|