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

List:       kde-devel
Subject:    Re: Some thoughts on kdelibs et al.
From:       Rik Hemsley <rik () kde ! org>
Date:       2001-09-25 17:25:19
[Download RAW message or body]

#if John Gluck
> Hi
> 
> I agree that it is better to provide accessor methods that are either
> public or protected than direct access as long as the accessors are
> inline.

No, please do not make accessors inline unless objects of the class will
be used on a time-critical path. That means QString, QRect, etc.  For
widgets, making methods inline makes no sense. The ability to change
internal behaviour later is much more important than the microseconds
saved.

Rik
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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