kcms/kwinoptions : convert Advanced part to KConfigXT
ClosedPublic

Authored by meven on Feb 5 2020, 3:32 PM.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
meven created this revision.Feb 5 2020, 3:32 PM
Restricted Application added a project: KWin. · View Herald TranscriptFeb 5 2020, 3:32 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
meven requested review of this revision.Feb 5 2020, 3:32 PM
meven updated this revision to Diff 75058.Feb 5 2020, 3:36 PM

s/bool/Bool

zzag added inline comments.Feb 5 2020, 3:50 PM
kcmkwin/kwinoptions/main.cpp
79

KWin requires C++14 so you can use qOverload().

meven updated this revision to Diff 75061.Feb 5 2020, 4:19 PM
meven marked an inline comment as done.

Use qOverload<>() instead of QOverload<>::of

meven added inline comments.Feb 5 2020, 4:20 PM
kcmkwin/kwinoptions/windows.cpp
410

Btw this was needed for my previous patch but it slipped through.

zzag accepted this revision.Feb 5 2020, 7:39 PM
This revision is now accepted and ready to land.Feb 5 2020, 7:39 PM
meven added inline comments.Feb 6 2020, 8:06 AM
kcmkwin/kwinoptions/windows.cpp
364–371

I wish we had a way to have the enum's user label in kcfg files

This revision was automatically updated to reflect the committed changes.