kpilot

vcal-setup.cc

Go to the documentation of this file.
00001 /* KPilot
00002 **
00003 ** Copyright (C) 2002-2003 Reinhold Kainhofer
00004 ** Copyright (C) 2001 by Dan Pilone
00005 **
00006 ** This file defines the setup dialog for the vcal-conduit plugin.
00007 */
00008 
00009 /*
00010 ** This program is free software; you can redistribute it and/or modify
00011 ** it under the terms of the GNU General Public License as published by
00012 ** the Free Software Foundation; either version 2 of the License, or
00013 ** (at your option) any later version.
00014 **
00015 ** This program is distributed in the hope that it will be useful,
00016 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00017 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00018 ** GNU General Public License for more details.
00019 **
00020 ** You should have received a copy of the GNU General Public License
00021 ** along with this program in a file called COPYING; if not, write to
00022 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00023 ** MA 02110-1301, USA.
00024 */
00025 
00026 /*
00027 ** Bug reports and questions can be sent to kde-pim@kde.org
00028 */
00029 
00030 #include "options.h"
00031 
00032 #include <qbuttongroup.h>
00033 #include <kaboutdata.h>
00034 
00035 #include "korganizerConduit.h"
00036 #include "vcal-conduit.h"
00037 #include "vcal-setup.h"
00038 
00039 
00040 VCalWidgetSetup::VCalWidgetSetup(QWidget *w, const char *n) :
00041     VCalWidgetSetupBase(w,n)
00042 {
00043     KAboutData *fAbout = new KAboutData("vcalConduit",
00044         I18N_NOOP("VCal Conduit for KPilot"),
00045         KPILOT_VERSION,
00046         I18N_NOOP("Configures the VCal Conduit for KPilot"),
00047         KAboutData::License_GPL,
00048         "(C) 2001, Adriaan de Groot\n(C) 2002-2003, Reinhold Kainhofer");
00049     fAbout->addAuthor("Adriaan de Groot",
00050         I18N_NOOP("Maintainer"),
00051         "groot@kde.org",
00052         "http://www.kpilot.org/");
00053     fAbout->addAuthor("Reinhold Kainhofer",
00054         I18N_NOOP("Maintainer"),
00055         "reinhold@kainhofer.com",
00056         "http://reinhold.kainhofer.com/Linux/");
00057     fAbout->addAuthor("Dan Pilone",
00058         I18N_NOOP("Original Author"));
00059     fAbout->addAuthor("Preston Brown",
00060         I18N_NOOP("Original Author"));
00061     fAbout->addAuthor("Herwin-Jan Steehouwer",
00062         I18N_NOOP("Original Author"));
00063     fAbout->addCredit("Cornelius Schumacher",
00064         I18N_NOOP("iCalendar port"));
00065     fAbout->addCredit("Philipp Hullmann",
00066         I18N_NOOP("Bugfixer"));
00067 
00068     ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget, fAbout);
00069     fConfigWidget->fSyncDestination->setTitle(i18n("Calendar Destination"));
00070     fConduitName=i18n("Calendar");
00071 
00072 }
00073 
00074 /* static */ ConduitConfigBase *VCalWidgetSetup::create(QWidget *w,const char *n)
00075 {
00076     return new VCalWidgetSetup(w,n);
00077 }
00078 VCalConduitSettings*VCalWidgetSetup::config() { return VCalConduit::theConfig(); }