Allow usage of detailedsorry and detailederror in kdialog

Review Request #105304 - Created June 20, 2012 and submitted

Kai Uwe Broulik
As somebody who loves bash scripting but also wants to have a nice userfriendly graphical "interface" for those scripts, I excessively use kdialog.
In a new project I am working on, I need the detailedsorry thing in KMessageBox, so I can provide a simple error message "could not launch xyz" while allowing detailed error information such as "directory xyz does not exist" in an expandable Details box.
This patch adds this functionality to kdialog.
kdialog --detailedsorry "error message" "what should be in the details section"
also works with detailederror

[I am volunteering for an update of the respective Wiki page on techbase as well. Those screenshots date back to KDE 3 and early KDE 4 times ;) ]
Tested and works. Works with linebreaks and other parameters as well.


David Faure
Kai Uwe Broulik
David Faure
Commit Hook
Kai Uwe Broulik
Review request changed

Status: Closed (submitted)