Changeset View
Changeset View
Standalone View
Standalone View
kcms/style/kcmstyle.cpp
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Line(s) | 77 | KCMStyle::KCMStyle(QObject *parent, const QVariantList &args) | |||
---|---|---|---|---|---|
80 | , m_model(new StylesModel(this)) | 80 | , m_model(new StylesModel(this)) | ||
81 | { | 81 | { | ||
82 | qmlRegisterUncreatableType<KCMStyle>("org.kde.private.kcms.style", 1, 0, "KCM", QStringLiteral("Cannot create instances of KCM")); | 82 | qmlRegisterUncreatableType<KCMStyle>("org.kde.private.kcms.style", 1, 0, "KCM", QStringLiteral("Cannot create instances of KCM")); | ||
83 | qmlRegisterType<StyleSettings>(); | 83 | qmlRegisterType<StyleSettings>(); | ||
84 | qmlRegisterType<StylesModel>(); | 84 | qmlRegisterType<StylesModel>(); | ||
85 | qmlRegisterType<PreviewItem>("org.kde.private.kcms.style", 1, 0, "PreviewItem"); | 85 | qmlRegisterType<PreviewItem>("org.kde.private.kcms.style", 1, 0, "PreviewItem"); | ||
86 | 86 | | |||
87 | KAboutData *about = | 87 | KAboutData *about = | ||
88 | new KAboutData( QStringLiteral("kcm_style"), i18n("Application Style"), QStringLiteral("2.0"), | 88 | new KAboutData( QStringLiteral("kcm_style"), i18n("KDE/Qt Application Style"), QStringLiteral("2.0"), | ||
89 | QString(), KAboutLicense::GPL, | 89 | QString(), KAboutLicense::GPL, | ||
90 | i18n("(c) 2002 Karol Szwed, Daniel Molkentin, (c) 2019 Kai Uwe Broulik")); | 90 | i18n("(c) 2002 Karol Szwed, Daniel Molkentin, (c) 2019 Kai Uwe Broulik")); | ||
91 | 91 | | |||
92 | about->addAuthor(i18n("Karol Szwed"), QString(), QStringLiteral("gallium@kde.org")); | 92 | about->addAuthor(i18n("Karol Szwed"), QString(), QStringLiteral("gallium@kde.org")); | ||
93 | about->addAuthor(i18n("Daniel Molkentin"), QString(), QStringLiteral("molkentin@kde.org")); | 93 | about->addAuthor(i18n("Daniel Molkentin"), QString(), QStringLiteral("molkentin@kde.org")); | ||
94 | about->addAuthor(i18n("Kai Uwe Broulik"), QString(), QStringLiteral("kde@broulik.de")); | 94 | about->addAuthor(i18n("Kai Uwe Broulik"), QString(), QStringLiteral("kde@broulik.de")); | ||
95 | setAboutData(about); | 95 | setAboutData(about); | ||
96 | 96 | | |||
▲ Show 20 Lines • Show All 232 Lines • Show Last 20 Lines |