Changeset View
Changeset View
Standalone View
Standalone View
src/main.cpp
| Show All 18 Lines | 3 | /* This file is part of the KDE project | |||
|---|---|---|---|---|---|
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. | 20 | Boston, MA 02110-1301, USA. | ||
| 21 | */ | 21 | */ | ||
| 22 | 22 | | |||
| 23 | #include "globalbookmarkmanager.h" | 23 | #include "globalbookmarkmanager.h" | ||
| 24 | #include "toplevel.h" | 24 | #include "toplevel.h" | ||
| 25 | #include "importers.h" | 25 | #include "importers.h" | ||
| 26 | #include "kbookmarkmodel/commandhistory.h" | 26 | #include "kbookmarkmodel/commandhistory.h" | ||
| 27 | #include "keditbookmarks_version.h" | ||||
| 27 | 28 | | |||
| 28 | #include <QApplication> | 29 | #include <QApplication> | ||
| 29 | #include <QDebug> | 30 | #include <QDebug> | ||
| 30 | #include <QCommandLineParser> | 31 | #include <QCommandLineParser> | ||
| 31 | #include <QCommandLineOption> | 32 | #include <QCommandLineOption> | ||
| 32 | 33 | | |||
| 33 | #include <KAboutData> | 34 | #include <KAboutData> | ||
| 34 | #include <kdelibs4configmigrator.h> | 35 | #include <kdelibs4configmigrator.h> | ||
| ▲ Show 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 94 | { | |||
| 98 | migrate.setConfigFiles(QStringList() << QStringLiteral("keditbookmarksrc")); | 99 | migrate.setConfigFiles(QStringList() << QStringLiteral("keditbookmarksrc")); | ||
| 99 | migrate.setUiFiles(QStringList() << QStringLiteral("keditbookmarksuirc")); | 100 | migrate.setUiFiles(QStringList() << QStringLiteral("keditbookmarksuirc")); | ||
| 100 | migrate.migrate(); | 101 | migrate.migrate(); | ||
| 101 | 102 | | |||
| 102 | KLocalizedString::setApplicationDomain("keditbookmarks"); | 103 | KLocalizedString::setApplicationDomain("keditbookmarks"); | ||
| 103 | 104 | | |||
| 104 | KAboutData aboutData(QStringLiteral("keditbookmarks"), | 105 | KAboutData aboutData(QStringLiteral("keditbookmarks"), | ||
| 105 | i18n("Bookmark Editor"), | 106 | i18n("Bookmark Editor"), | ||
| 106 | QStringLiteral("5.0"), | 107 | QStringLiteral(KEDITBOOKMARKS_VERSION_STRING), | ||
| 107 | i18n("Bookmark Organizer and Editor"), | 108 | i18n("Bookmark Organizer and Editor"), | ||
| 108 | KAboutLicense::GPL, | 109 | KAboutLicense::GPL, | ||
| 109 | i18n("Copyright 2000-2017, KDE developers") ); | 110 | i18n("Copyright 2000-2017, KDE developers") ); | ||
| 110 | aboutData.addAuthor(i18n("David Faure"), i18n("Initial author"), QStringLiteral("faure@kde.org")); | 111 | aboutData.addAuthor(i18n("David Faure"), i18n("Initial author"), QStringLiteral("faure@kde.org")); | ||
| 111 | aboutData.addAuthor(i18n("Alexander Kellett"), i18n("Author"), QStringLiteral("lypanov@kde.org")); | 112 | aboutData.addAuthor(i18n("Alexander Kellett"), i18n("Author"), QStringLiteral("lypanov@kde.org")); | ||
| 112 | 113 | | |||
| 113 | aboutData.setOrganizationDomain(QByteArray("kde.org")); | 114 | aboutData.setOrganizationDomain(QByteArray("kde.org")); | ||
| 114 | aboutData.setDesktopFileName(QStringLiteral("org.kde.keditbookmarks")); | 115 | aboutData.setDesktopFileName(QStringLiteral("org.kde.keditbookmarks")); | ||
| ▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines | |||||