Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwindecoration/kcm.cpp
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | 79 | KCMKWinDecoration::KCMKWinDecoration(QObject *parent, const QVariantList &arguments) | |||
---|---|---|---|---|---|
82 | , m_proxyThemesModel(new QSortFilterProxyModel(this)) | 82 | , m_proxyThemesModel(new QSortFilterProxyModel(this)) | ||
83 | , m_leftButtonsModel(new KDecoration2::Preview::ButtonsModel(DecorationButtonsList(), this)) | 83 | , m_leftButtonsModel(new KDecoration2::Preview::ButtonsModel(DecorationButtonsList(), this)) | ||
84 | , m_rightButtonsModel(new KDecoration2::Preview::ButtonsModel(DecorationButtonsList(), this)) | 84 | , m_rightButtonsModel(new KDecoration2::Preview::ButtonsModel(DecorationButtonsList(), this)) | ||
85 | , m_availableButtonsModel(new KDecoration2::Preview::ButtonsModel(this)) | 85 | , m_availableButtonsModel(new KDecoration2::Preview::ButtonsModel(this)) | ||
86 | , m_savedSettings{ s_defaultBorderSize, -2 /* for setTheme() */, false, s_defaultDecoButtonsOnLeft, s_defaultDecoButtonsOnRight } | 86 | , m_savedSettings{ s_defaultBorderSize, -2 /* for setTheme() */, false, s_defaultDecoButtonsOnLeft, s_defaultDecoButtonsOnRight } | ||
87 | , m_currentSettings(m_savedSettings) | 87 | , m_currentSettings(m_savedSettings) | ||
88 | { | 88 | { | ||
89 | auto about = new KAboutData(QStringLiteral("kcm_kwindecoration"), | 89 | auto about = new KAboutData(QStringLiteral("kcm_kwindecoration"), | ||
90 | i18n("Configure window titlebars and borders"), | 90 | i18n("Window Decorations"), | ||
91 | QStringLiteral("1.0"), | 91 | QStringLiteral("1.0"), | ||
92 | QString(), | 92 | QString(), | ||
93 | KAboutLicense::GPL); | 93 | KAboutLicense::GPL); | ||
94 | about->addAuthor(i18n("Valerio Pilo"), | 94 | about->addAuthor(i18n("Valerio Pilo"), | ||
95 | i18n("Author"), | 95 | i18n("Author"), | ||
96 | QStringLiteral("vpilo@coldshock.net")); | 96 | QStringLiteral("vpilo@coldshock.net")); | ||
97 | setAboutData(about); | 97 | setAboutData(about); | ||
98 | 98 | | |||
▲ Show 20 Lines • Show All 217 Lines • Show Last 20 Lines |