Commit b9a54826 authored by David Edmundson's avatar David Edmundson
Browse files

[kcms/launchfeedback] Port to KConfig notifiers

This gets rid of all C++ code in this KCM!

It gets rid of a kwin tie in where one shouldn't exist and also exposes
a notification that the taskmanager should be able to hook into -
something currently missing as it loads this setting.

Test Plan: Changed setting, kwin updates automatically

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 8b00bcb9
...@@ -53,14 +53,4 @@ LaunchFeedbackSettings *LaunchFeedback::launchFeedbackSettings() const ...@@ -53,14 +53,4 @@ LaunchFeedbackSettings *LaunchFeedback::launchFeedbackSettings() const
return m_settings; return m_settings;
} }
void LaunchFeedback::save()
org::kde::kwin::Effects kwin(QStringLiteral("org.kde.KWin"),
#include "launchfeedback.moc" #include "launchfeedback.moc"
...@@ -44,9 +44,6 @@ public: ...@@ -44,9 +44,6 @@ public:
LaunchFeedbackSettings *launchFeedbackSettings() const; LaunchFeedbackSettings *launchFeedbackSettings() const;
public Q_SLOTS:
void save() override;
private: private:
LaunchFeedbackSettings *m_settings; LaunchFeedbackSettings *m_settings;
}; };
...@@ -4,3 +4,4 @@ Mutators=true ...@@ -4,3 +4,4 @@ Mutators=true
DefaultValueGetters=true DefaultValueGetters=true
GenerateProperties=true GenerateProperties=true
ParentInConstructor=true ParentInConstructor=true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment