KMessageBox customizable cancel button

Olivier Goffart ogoffart at kde.org
Wed Mar 28 23:49:54 BST 2007


Le mercredi 28 mars 2007, Reinhold Kainhofer a écrit :
> I think it's far more frequent to use the static methods of KMessageBox
> rather than explicitly allocating a KMessageBox object. 

You never allocate a KMessageBox,  it just has static member,  it's used as a 
namespace currently.



And i agree with David,  the patch should be probably commited now, and if 
someone want to make a better API later, he can.

also, maybe the current KMessageBox should become a namespace.


But how to fix that API later without breaking the BC ?
Calling it  KMessageBoxEx ?  KMessageDialog ?
Or is it allowed to have a class KMessageBox even if there is a namespace with 
this name ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070329/acf353b0/attachment.sig>


More information about the kde-core-devel mailing list