2
Copyright (c) 2012 Montel Laurent <montel@kde.org>
4
This program is free software; you can redistribute it and/or modify it
5
under the terms of the GNU General Public License, version 2, as
6
published by the Free Software Foundation.
8
This program is distributed in the hope that it will be useful, but
9
WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
General Public License for more details.
13
You should have received a copy of the GNU General Public License along
14
with this program; if not, write to the Free Software Foundation, Inc.,
15
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
#include <kcmdlineargs.h>
20
#include <kaboutdata.h>
22
#include <KApplication>
24
#include "importwizard.h"
26
#include "kdepim-version.h"
28
int main(int argc, char *argv[])
30
KLocale::setMainCatalog("importwizard");
32
//FIXME: "wizards" are "assistents" in new KDE slang
33
KAboutData aboutData( "importwizard", 0, ki18n("importwizard"),
34
KDEPIM_VERSION, ki18n("PIM Import Tool"), KAboutData::License_GPL_V2,
35
ki18n("Copyright © 2012 importwizard authors"));
36
aboutData.addAuthor(ki18n("Laurent Montel"), ki18n("Maintainer"), "montel@kde.org");
37
aboutData.setProgramIconName("kontact-import-wizard");
38
KCmdLineArgs::init( argc, argv, &aboutData );
40
KCmdLineOptions options;
41
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
44
ImportWizard *wizard = new ImportWizard();
45
a.setTopWidget(wizard);