Changeset View
Changeset View
Standalone View
Standalone View
effects/thumbnailaside/thumbnailaside_config.cpp
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 51 | ThumbnailAsideEffectConfig::ThumbnailAsideEffectConfig(QWidget* parent, const QVariantList& args) : | |||
---|---|---|---|---|---|
52 | KCModule(KAboutData::pluginData(QStringLiteral("thumbnailaside")), parent, args) | 52 | KCModule(KAboutData::pluginData(QStringLiteral("thumbnailaside")), parent, args) | ||
53 | { | 53 | { | ||
54 | m_ui = new ThumbnailAsideEffectConfigForm(this); | 54 | m_ui = new ThumbnailAsideEffectConfigForm(this); | ||
55 | 55 | | |||
56 | QVBoxLayout* layout = new QVBoxLayout(this); | 56 | QVBoxLayout* layout = new QVBoxLayout(this); | ||
57 | 57 | | |||
58 | layout->addWidget(m_ui); | 58 | layout->addWidget(m_ui); | ||
59 | 59 | | |||
60 | connect(m_ui->editor, &KShortcutsEditor::keyChange, this, qOverload<>(&ThumbnailAsideEffectConfig::changed)); | 60 | connect(m_ui->editor, &KShortcutsEditor::keyChange, this, &ThumbnailAsideEffectConfig::markAsChanged); | ||
61 | 61 | | |||
62 | ThumbnailAsideConfig::instance(KWIN_CONFIG); | 62 | ThumbnailAsideConfig::instance(KWIN_CONFIG); | ||
63 | addConfig(ThumbnailAsideConfig::self(), this); | 63 | addConfig(ThumbnailAsideConfig::self(), this); | ||
64 | 64 | | |||
65 | // Shortcut config. The shortcut belongs to the component "kwin"! | 65 | // Shortcut config. The shortcut belongs to the component "kwin"! | ||
66 | m_actionCollection = new KActionCollection(this, QStringLiteral("kwin")); | 66 | m_actionCollection = new KActionCollection(this, QStringLiteral("kwin")); | ||
67 | 67 | | |||
68 | m_actionCollection->setComponentDisplayName(i18n("KWin")); | 68 | m_actionCollection->setComponentDisplayName(i18n("KWin")); | ||
Show All 33 Lines |