kpilot

kpalmdoc.cpp

Go to the documentation of this file.
00001 /* converter.cpp
00002 **
00003 ** Copyright (C) 2003 by Reinhold Kainhofer
00004 **
00005 ** This is the main program of the KDE PalmDOC converter.
00006 */
00007 
00008 /*
00009 ** This program is free software; you can redistribute it and/or modify
00010 ** it under the terms of the GNU General Public License as published by
00011 ** the Free Software Foundation; either version 2 of the License, or
00012 ** (at your option) any later version.
00013 **
00014 ** This program is distributed in the hope that it will be useful,
00015 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00017 ** GNU General Public License for more details.
00018 **
00019 ** You should have received a copy of the GNU General Public License
00020 ** along with this program in a file called COPYING; if not, write to
00021 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00022 ** MA 02110-1301, USA.
00023 */
00024 
00025 /*
00026 ** Bug reports and questions can be sent to kde-pim@kde.org
00027 */
00028 
00029 #include "options.h"
00030 
00031 #include <kcmdlineargs.h>
00032 #include <kaboutdata.h>
00033 #include <kapplication.h>
00034 
00035 #include "kpalmdoc_dlg.h"
00036 
00037 
00038 
00039 int main(int argc, char *argv[])
00040 {
00041 
00042     KAboutData about("converter", I18N_NOOP("KPalmDOC"), "-0.0.1",
00043         "KPalmDOC - KDE Converter for PalmDOC texts.\n\n",
00044         KAboutData::License_GPL, "(c) 2003, Reinhold Kainhofer");
00045     about.addAuthor("Reinhold Kainhofer", I18N_NOOP("Main Developer"),
00046         "reinhold@kainhofer.com", "http://reinhold.kainhofer.com/Linux/");
00047     about.addCredit("Adriaan de Groot", I18N_NOOP("Maintainer of KPilot"),
00048         "groot@kde.org", "http://www.kpilot.org/");
00049 
00050     KCmdLineArgs::init(argc, argv, &about);
00051     KApplication::addCmdLineOptions();
00052 
00053     KApplication app;
00054     ConverterDlg *dlg=new ConverterDlg(0L, i18n("PalmDOC Converter"));
00055     dlg->show();
00056     return app.exec();
00057 }
00058