Require and use the new NewStuffQuick Button component

Authored by leinir on Oct 29 2019, 10:00 AM.

Description

Require and use the new NewStuffQuick Button component

Summary:
This removes the need for the custom hack for spawning a dialog,
and is intended to function as a sample for how to implement this
in other KCMs.

Also use the big, pretty Preview mode (because super-visual content)

This could be done wholesale for the entire bunch of KCMs, but i post
this on its own in an attempt to gain feedback on a self contained
example of how to do this porting step.

Without this patch:

With this patch:

Depends on D25041

Reviewers: Plasma, KNewStuff, VDG, broulik, ngraham

Reviewed By: VDG, ngraham

Subscribers: ngraham, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D24942

Details

Committed
leinirOct 30 2019, 9:54 AM
Reviewer
VDG
Differential Revision
D24942: Require and use the new NewStuffQuick Button component
Parents
R119:88bce0e49c7e: Hide "Lock Widgets" button from panel edit mode toolbar
Branches
Unknown
Tags
Unknown