KTabBar -- double clicking on empty space

Thomas Zander zander at kde.org
Sun Sep 9 11:52:31 BST 2007


On Sunday 09 September 2007 07:34:51 Constantin Berzan wrote:
> I see two possible solutions:
> * emit mouseDoubleClick(-1)

The disadvantage of this is that all code listening to that signal need to 
special-case the magic number "-1".
Which is sub-optimal because it adds complexity to the 'API' where you 
don't expect it.

-- 
Thomas Zander
-------------- 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/20070909/7e10fc66/attachment.sig>


More information about the kde-core-devel mailing list