Changeset View
Changeset View
Standalone View
Standalone View
effects/wobblywindows/wobblywindows_config.cpp
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | |||||
82 | 82 | | |||
83 | WobblyWindowsEffectConfig::WobblyWindowsEffectConfig(QWidget* parent, const QVariantList& args) : | 83 | WobblyWindowsEffectConfig::WobblyWindowsEffectConfig(QWidget* parent, const QVariantList& args) : | ||
84 | KCModule(KAboutData::pluginData(QStringLiteral("wobblywindows")), parent, args) | 84 | KCModule(KAboutData::pluginData(QStringLiteral("wobblywindows")), parent, args) | ||
85 | { | 85 | { | ||
86 | WobblyWindowsConfig::instance(KWIN_CONFIG); | 86 | WobblyWindowsConfig::instance(KWIN_CONFIG); | ||
87 | m_ui.setupUi(this); | 87 | m_ui.setupUi(this); | ||
88 | 88 | | |||
89 | addConfig(WobblyWindowsConfig::self(), this); | 89 | addConfig(WobblyWindowsConfig::self(), this); | ||
90 | connect(m_ui.kcfg_WobblynessLevel, SIGNAL(valueChanged(int)), this, SLOT(wobblinessChanged())); | 90 | connect(m_ui.kcfg_WobblynessLevel, &QSlider::valueChanged, this, &WobblyWindowsEffectConfig::wobblinessChanged); | ||
91 | 91 | | |||
92 | load(); | 92 | load(); | ||
93 | } | 93 | } | ||
94 | 94 | | |||
95 | WobblyWindowsEffectConfig::~WobblyWindowsEffectConfig() | 95 | WobblyWindowsEffectConfig::~WobblyWindowsEffectConfig() | ||
96 | { | 96 | { | ||
97 | } | 97 | } | ||
98 | 98 | | |||
Show All 22 Lines |