From kde-commits Wed Nov 22 16:18:58 2000 From: Reginald Stadlbauer Date: Wed, 22 Nov 2000 16:18:58 +0000 To: kde-commits Subject: Re: kdelibs/kdeui X-MARC-Message: https://marc.info/?l=kde-commits&m=97490939126837 On Wednesday 22 November 2000 16:06, Simon Hausmann wrote: > On Wed, Nov 22, 2000 at 03:59:28PM +0000, CVS by neundorf wrote: > > kdelibs/kdeui klistview.h,1.61,1.62 > > Author: neundorf > > Wed Nov 22 15:59:28 UTC 2000 > > > > Modified Files: > > klistview.h > > Log Message: > > > > I am sure I committed these changes some days ago, but it seems something > > must have gone wrong, I can't find it in the logs, hmm. > > Well, now here comes finally the enhanced konqySelectionMode. Please > > update also konqueror/listview/konq_listviewwidget.cc to see how it > > works. > > > > Btw. what does the "1" in > > bool someBool:1; > > mean ? > > It's a bitfield, telling the compiler to allocate 1 (in this > very case) bits for the specified variable. Saves memory :-) In fact you can save a lot of memory if you use it correctly (have to take care in which order you declare the vars). This is esp. important in classes like items, where you allocate lot of them. We use that a lot in Qt. -- Reggie (reggie@trolltech.com)