Make OK button configurable in KMessageBox::sorry/detailedSorry

Authored by dfaure on Sep 27 2019, 9:32 PM.

Description

Make OK button configurable in KMessageBox::sorry/detailedSorry

Summary:
A kdialog user requested being able to set it to e.g. "Abort",
and indeed it's weird that yes/no buttons are configurable for other
diaog types but not OK.

Test Plan: Updated test program

Reviewers: cfeck, vkrause, apol

Reviewed By: apol

Subscribers: ngraham, kde-frameworks-devel

Tags: Frameworks

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

Details