Commit 1fee9792 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Migrate it

parent 7eba1f2b
...@@ -26,10 +26,17 @@ ...@@ -26,10 +26,17 @@
#include <QCommandLineParser> #include <QCommandLineParser>
#include <QCommandLineOption> #include <QCommandLineOption>
#include "kdepim-version.h" #include "kdepim-version.h"
#include <kdelibs4configmigrator.h>
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
KLocalizedString::setApplicationDomain("pimsettingexporter"); KLocalizedString::setApplicationDomain("pimsettingexporter");
Kdelibs4ConfigMigrator migrate(QLatin1String("pimsettingexporter"));
migrate.setConfigFiles(QStringList() << QLatin1String("pimsettingexporterrc"));
migrate.setUiFiles(QStringList() << QLatin1String("pimsettingexporter.rc"));
migrate.migrate();
KAboutData aboutData(QLatin1String("pimsettingexporter"), i18n("PIM Setting Exporter"), KAboutData aboutData(QLatin1String("pimsettingexporter"), i18n("PIM Setting Exporter"),
QLatin1String(KDEPIM_VERSION), i18n("PIM Setting Exporter"), KAboutLicense::GPL_V2, QLatin1String(KDEPIM_VERSION), i18n("PIM Setting Exporter"), KAboutLicense::GPL_V2,
i18n("Copyright © 2012-2014 pimsettingexporter authors")); i18n("Copyright © 2012-2014 pimsettingexporter authors"));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment