From kde-core-devel Mon Jun 07 22:50:14 2004 From: Oswald Buddenhagen Date: Mon, 07 Jun 2004 22:50:14 +0000 To: kde-core-devel Subject: Re: [PATCH] Revised patch for KUser Message-Id: <20040607225014.GE8828 () ugly ! local> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=108665016722212 On Mon, Jun 07, 2004 at 09:40:00PM +0200, Jan Schäfer wrote: > +KUser::KUser(const KUser & user) { > + d = user.d; > +} > + KUser::KUser(const KUser & user) : d(user.d){}, i said. > + QValueList groups() const; > + QValueList users() const; > now that is look at this, i'm not sure whether it is a good idea to return lists of KUser[Group], as this may be excessively expensive. maybe it would be better to return string lists and let the user create the respective objects himself if necessary. not sure about all{Users|Groups} ... without the auto-construction they are trivially done with the posix functions, and i don't think we want plain wrappers in the api? greetings -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Chaos, panic, and disorder - my work here is done.