2 Copyright (c) 2012-2015 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
18 #include <kaboutdata.h>
19 #include <KDBusService>
20 #include <KLocalizedString>
21 #include <Kdelibs4ConfigMigrator>
22 #include <QApplication>
24 #include "importwizard.h"
26 #include "kdepim-version.h"
30 int main(int argc
, char *argv
[])
32 QApplication
app(argc
, argv
);
34 Kdelibs4ConfigMigrator
migrate(QLatin1String("importwizard"));
35 migrate
.setConfigFiles(QStringList() << QLatin1String("importwizardrc"));
38 KLocalizedString::setApplicationDomain("importwizard");
39 //FIXME: "wizards" are "assistents" in new KDE slang
40 KAboutData
aboutData(QStringLiteral("importwizard"),
41 i18n("PIM Import Tool"),
42 QLatin1String(KDEPIM_VERSION
),
43 i18n("PIM Import Tool"),
44 KAboutLicense::GPL_V2
,
45 i18n("Copyright © 2012-2015 importwizard authors"));
47 aboutData
.addAuthor(i18n("Laurent Montel"), i18n("Maintainer"), QStringLiteral("montel@kde.org"));
48 QApplication::setWindowIcon(QIcon::fromTheme(QLatin1String("kontact-import-wizard")));
49 aboutData
.setOrganizationDomain(QByteArray("kde.org"));
50 aboutData
.setProductName(QByteArray("importwizard"));
52 KAboutData::setApplicationData(aboutData
);
54 KDBusService
service();
56 ImportWizard
*wizard
= new ImportWizard();