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

List:       kde-commits
Subject:    Re: KDE/kdepimlibs/akonadi
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2009-05-08 8:51:37
Message-ID: 20090508085136.GA3157 () ghostdog ! localnet
[Download RAW message or body]


On Thu, May 07, 2009 at 11:48:43AM +0300, Mantia Andras wrote:
> On Thursday 07 May 2009, Tobias Koenig wrote:
Hej Andras,

> > > +    /**
> > > +     * Get the collection ID of the item.
> > > +     * @return -1 if the collection ID is not know, use
> > > ItemFetchJob to query for the collection id.
> > > +     */
> > > +    Entity::Id collectionId() const;
> >
> > Same here and rephrase to 'Returns the collection id...'
> 
> Is there a guideline about it?
Yes, just do it like for all the other getters and setters in that
class :)

So use 'Sets the ...' and 'Returns the ...'

Ciao,
Tobias
-- 
Separate politics from religion and economy!

["signature.asc" (application/pgp-signature)]

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

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