Better wording
[kdepim.git] / kmailcvt / main.cpp
bloba719ef20be18645a6d7863c6fb2efb0e48d8dd16
1 /***************************************************************************
2 main.cpp - description
3 -------------------
4 begin : Wed Aug 2 11:23:04 CEST 2000
5 copyright : (C) 2000 by Hans Dijkema
6 email : kmailcvt@hum.org
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
18 #include <kcmdlineargs.h>
19 #include <kaboutdata.h>
20 #include <klocale.h>
22 #include "kmailcvt.h"
23 #include "kdepim-version.h"
25 int main(int argc, char *argv[])
27 KLocale::setMainCatalog("kmailcvt");
29 KAboutData aboutData( "kmailcvt", 0, ki18n("KMailCVT"),
30 KDEPIM_VERSION, ki18n("Mail Import Tool"), KAboutData::License_GPL_V2,
31 ki18n("Copyright © 2000–2012 KMailCVT authors"));
32 aboutData.addAuthor(ki18n("Hans Dijkema"),ki18n("Original author"), "kmailcvt@hum.org");
33 aboutData.addAuthor(ki18n("Danny Kukawka"), ki18n("Maintainer & New filters"), "danny.kukawka@web.de");
34 aboutData.addAuthor(ki18n("Laurence Anderson"), ki18n("New GUI & cleanups"), "l.d.anderson@warwick.ac.uk");
35 aboutData.addCredit(ki18n("Daniel Molkentin"), ki18n("New GUI & cleanups"), "molkentin@kde.org");
36 aboutData.addCredit(ki18n("Matthew James Leach"), ki18n("Port to Akonadi"), "matthew@theleachfamily.co.uk");
37 aboutData.addAuthor(ki18n("Laurent Montel"), ki18n("New filter & cleanups"), "montel@kde.org");
39 KCmdLineArgs::init( argc, argv, &aboutData );
41 KCmdLineOptions options;
42 KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
44 KApplication a;
45 KMailCVT *kmailcvt = new KMailCVT();
46 a.setTopWidget(kmailcvt);
47 kmailcvt->show();
48 int ret = a.exec();
49 delete kmailcvt;
50 return ret;