KMetaData API comments
    Andreas Pakulat 
    apaku at gmx.de
       
    Tue May  1 21:06:06 BST 2007
    
    
  
On 01.05.07 21:44:48, Simon Hausmann wrote:
> enum ErrorCode {
>            ERROR_SUCCESS = 0,
>            ERROR_COMMUNICATION,
>            ERROR_INVALID_TYPE
> };
> 
> 	In Qt/KDE enum values usually have camel case names instead of all upper 
> case. The no-error value is usually also called "NoError" instead of 
> having "success" in the name. (NoFoo is the common pattern).
And its important to not have clashes with macro's that are usually
all-upper-case. 
Andreas
-- 
Today is the last day of your life so far.
    
    
More information about the kde-core-devel
mailing list