• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kontact

specialdates_plugin.cpp

Go to the documentation of this file.
00001 /*
00002   This file is part of Kontact.
00003 
00004   Copyright (c) 2003 Tobias Koenig <tokoe@kde.org>
00005   Copyright (c) 2004-2005 Allen Winter <winter@kde.org>
00006 
00007   This program is free software; you can redistribute it and/or modify
00008   it under the terms of the GNU General Public License as published by
00009   the Free Software Foundation; either version 2 of the License, or
00010   (at your option) any later version.
00011 
00012   This program is distributed in the hope that it will be useful,
00013   but WITHOUT ANY WARRANTY; without even the implied warranty of
00014   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00015   GNU General Public License for more details.
00016 
00017   You should have received a copy of the GNU General Public License
00018   along with this program; if not, write to the Free Software
00019   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00020 
00021   As a special exception, permission is given to link this program
00022   with any edition of Qt, and distribute the resulting executable,
00023   without including the source code for Qt in the source distribution.
00024 */
00025 
00026 #include "specialdates_plugin.h"
00027 #include "sdsummarywidget.h"
00028 
00029 #include <kontactinterfaces/core.h>
00030 
00031 #include <kaboutdata.h>
00032 #include <kgenericfactory.h>
00033 #include <klocale.h>
00034 #include <kparts/componentfactory.h>
00035 
00036 EXPORT_KONTACT_PLUGIN( SpecialdatesPlugin, specialdates )
00037 
00038 SpecialdatesPlugin::SpecialdatesPlugin( Kontact::Core *core, const QVariantList & )
00039   : Kontact::Plugin( core, core, 0 ), mAboutData( 0 )
00040 {
00041   setComponentData( KontactPluginFactory::componentData() );
00042 }
00043 
00044 SpecialdatesPlugin::~SpecialdatesPlugin()
00045 {
00046 }
00047 
00048 Kontact::Summary *SpecialdatesPlugin::createSummaryWidget( QWidget *parentWidget )
00049 {
00050   return new SDSummaryWidget( this, parentWidget );
00051 }
00052 
00053 const KAboutData *SpecialdatesPlugin::aboutData()
00054 {
00055   if ( !mAboutData ) {
00056     mAboutData = new KAboutData( "specialdates", 0,
00057                                  ki18n( "Special Dates Summary" ),
00058                                  "1.0",
00059                                  ki18n( "Kontact Special Dates Summary" ),
00060                                  KAboutData::License_LGPL,
00061                                  ki18n( "(c) 2004-2005 The KDE PIM Team" ) );
00062     mAboutData->addAuthor( ki18n( "Allen Winter" ),
00063                            ki18n( "Current Maintainer" ), "winter@kde.org" );
00064     mAboutData->addAuthor( ki18n( "Tobias Koenig" ),
00065                            KLocalizedString(), "tokoe@kde.org" );
00066     mAboutData->setProductName( "kontact/specialdates" );
00067   }
00068 
00069   return mAboutData;
00070 }

kontact

Skip menu "kontact"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal