Changeset View
Changeset View
Standalone View
Standalone View
kcms/cursortheme/kcmcursortheme.cpp
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Line(s) | 61 | : KQuickAddons::ConfigModule(parent, args), | |||
|---|---|---|---|---|---|
| 66 | m_originalSelectedThemeRow(-1), | 66 | m_originalSelectedThemeRow(-1), | ||
| 67 | m_canInstall(true), | 67 | m_canInstall(true), | ||
| 68 | m_canResize(true), | 68 | m_canResize(true), | ||
| 69 | m_canConfigure(true) | 69 | m_canConfigure(true) | ||
| 70 | { | 70 | { | ||
| 71 | qmlRegisterType<PreviewWidget>("org.kde.private.kcm_cursortheme", 1, 0, "PreviewWidget"); | 71 | qmlRegisterType<PreviewWidget>("org.kde.private.kcm_cursortheme", 1, 0, "PreviewWidget"); | ||
| 72 | qmlRegisterType<SortProxyModel>(); | 72 | qmlRegisterType<SortProxyModel>(); | ||
| 73 | 73 | | |||
| 74 | KAboutData* aboutData = new KAboutData(QStringLiteral("kcm_cursortheme"), i18n("Choose the mouse cursor theme"), | 74 | KAboutData* aboutData = new KAboutData(QStringLiteral("kcm_cursortheme"), i18n("Cursors"), | ||
| 75 | QStringLiteral("1.0"), QString(), KAboutLicense::GPL, i18n("(c) 2003-2007 Fredrik Höglund")); | 75 | QStringLiteral("1.0"), QString(), KAboutLicense::GPL, i18n("(c) 2003-2007 Fredrik Höglund")); | ||
| 76 | aboutData->addAuthor(i18n("Fredrik Höglund")); | 76 | aboutData->addAuthor(i18n("Fredrik Höglund")); | ||
| 77 | aboutData->addAuthor(i18n("Marco Martin")); | 77 | aboutData->addAuthor(i18n("Marco Martin")); | ||
| 78 | setAboutData(aboutData); | 78 | setAboutData(aboutData); | ||
| 79 | 79 | | |||
| 80 | m_model = new CursorThemeModel(this); | 80 | m_model = new CursorThemeModel(this); | ||
| 81 | 81 | | |||
| 82 | m_proxyModel = new SortProxyModel(this); | 82 | m_proxyModel = new SortProxyModel(this); | ||
| ▲ Show 20 Lines • Show All 538 Lines • Show Last 20 Lines | |||||