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

kontact

plannerplugin.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 "plannerplugin.h"
00027 #include "planner.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( PlannerPlugin, planner )
00037 
00038 PlannerPlugin::PlannerPlugin( Kontact::Core *core, const QVariantList & )
00039   : Kontact::Plugin( core, core, 0 ),
00040     mAboutData( 0 )
00041 {
00042   setComponentData( KontactPluginFactory::componentData() );
00043 }
00044 
00045 PlannerPlugin::~PlannerPlugin()
00046 {
00047 }
00048 
00049 Kontact::Summary *PlannerPlugin::createSummaryWidget( QWidget *parentWidget )
00050 {
00051   return new Planner( this, parentWidget );
00052 }
00053 
00054 const KAboutData *PlannerPlugin::aboutData()
00055 {
00056   if ( !mAboutData ) {
00057     mAboutData = new KAboutData( "planner", 0,
00058                                  ki18n( "Planner Summary" ),
00059                                  "1.0",
00060                                  ki18n( "Kontact Planner Summary" ),
00061                                  KAboutData::License_LGPL,
00062                                  ki18n( "(c) 2004-2005 The KDE PIM Team" ) );
00063     mAboutData->addAuthor( ki18n( "Allen Winter" ),
00064                            ki18n( "Current Maintainer" ), "winter@kde.org" );
00065     mAboutData->addAuthor( ki18n( "Tobias Koenig" ),
00066                            KLocalizedString(), "tokoe@kde.org" );
00067     mAboutData->addAuthor( ki18n( "Oral Timocin" ),
00068                            KLocalizedString(), "oral.timocin@kdemail.net" );
00069     mAboutData->setProductName( "kontact/planner" );
00070   }
00071 
00072   return mAboutData;
00073 }

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