[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDialogBase::slotO_k_ at al. vs. showButtonO_K_ et al.
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-02-22 17:01:58
[Download RAW message or body]

On Thursday 21 February 2002 21:01, Marc Mutz wrote:
> Hi!
> 
> I just spent the better part of the last five minutes scratching my head
> why g++ wants to convince me that KDialogBase::enableButtonOk doesn not
> exist :-(
> 
> Worth fixing?
> 
> Problem is there are slots with both Ok and OK in them. 

Eek, that's bad indeed.

> Changing OK->Ok
> or vice versa there wouldn't be caught by the compiler, but only at
> runtime, leading to bugs that are difficult to find when not knowing
> where to look.

... which is why it's not a good idea to change it ?

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david, http://www.konqueror.org
KDE 3.0: Konquering the Desktops


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic