Changeset View
Changeset View
Standalone View
Standalone View
cuttlefish/src/main.cpp
Show All 35 Lines | |||||
36 | int main(int argc, char **argv) | 36 | int main(int argc, char **argv) | ||
37 | { | 37 | { | ||
38 | QApplication app(argc, argv); | 38 | QApplication app(argc, argv); | ||
39 | KLocalizedString::setApplicationDomain("cuttlefish"); | 39 | KLocalizedString::setApplicationDomain("cuttlefish"); | ||
40 | 40 | | |||
41 | app.setApplicationVersion(PROJECT_VERSION); | 41 | app.setApplicationVersion(PROJECT_VERSION); | ||
42 | app.setDesktopFileName(QStringLiteral("org.kde.cuttlefish")); | 42 | app.setDesktopFileName(QStringLiteral("org.kde.cuttlefish")); | ||
43 | 43 | | |||
44 | app.setOrganizationName("KDE"); | ||||
45 | app.setOrganizationDomain("org.kde"); | ||||
46 | app.setApplicationName("Cuttlefish"); | ||||
47 | | ||||
44 | const static auto _category = QStringLiteral("category"); | 48 | const static auto _category = QStringLiteral("category"); | ||
45 | QCommandLineOption category = QCommandLineOption(QStringList() << QStringLiteral("c") << _category, | 49 | QCommandLineOption category = QCommandLineOption(QStringList() << QStringLiteral("c") << _category, | ||
46 | i18n("Start with category"), i18n("category")); | 50 | i18n("Start with category"), i18n("category")); | ||
47 | 51 | | |||
48 | const static auto _f = QStringLiteral("fullscreen"); | 52 | const static auto _f = QStringLiteral("fullscreen"); | ||
49 | QCommandLineOption fullscreen = QCommandLineOption(QStringList() << QStringLiteral("f") << _f, | 53 | QCommandLineOption fullscreen = QCommandLineOption(QStringList() << QStringLiteral("f") << _f, | ||
50 | i18n("Start full-screen")); | 54 | i18n("Start full-screen")); | ||
51 | 55 | | |||
Show All 25 Lines |