From kde-core-devel Sun Sep 09 05:34:51 2007 From: Constantin Berzan Date: Sun, 09 Sep 2007 05:34:51 +0000 To: kde-core-devel Subject: KTabBar -- double clicking on empty space Message-Id: <200709090834.51900.exit3219 () gmail ! com> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=118931614332058 Hello, currently KTabBar emits mouseDoubleClick(int) if a tab has been double clicked, but if the empty space next to the tabs has been double clicked, no signal is emitted. I see two possible solutions: * emit mouseDoubleClick(-1) * create a new signal emptySpaceDoubleClick() The first solution is easier, at the expense of having a "magic" value. Suggestions? Opinions? Should something be done about middle clicks too? (Note this problem only occurs when using KTabBar without a KTabWidget, e.g. in Konsole) -- Read my book! http://ascending.wordpress.com/2007/08/05/diaries-of-the-last-dreamer/