[PATCH] New signal for KKeySequenceWidget

David Faure faure at kde.org
Thu Aug 23 15:49:36 BST 2007

On Wednesday 22 August 2007, Andreas Hartmetz wrote:
> The safest and most explicit API that I can come up with and that doesn't 
> require subclassing is this:
> public slots:
> void denyValidation();
> signals:
> validationHook(const QKeySequence &newSeq);

This API looks ok.
Pointers to bools or bool return values in signals look awful :)

David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

More information about the kde-core-devel mailing list