[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KTabBar -- double clicking on empty space
From: "Richard Moore" <richmoore44 () gmail ! com>
Date: 2007-09-09 12:59:21
Message-ID: 5491a5150709090559l5f55e491yb34957eb5ede72d1 () mail ! gmail ! com
[Download RAW message or body]
On 9/9/07, Thomas Zander <zander@kde.org> wrote:
> 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.
Yes, and any existing code that is using that index could be broken in
hard to find ways. I'd say having a new signal is a much cleaner
design.
Cheers
Rich.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic