rem: switch( type ) { case 1: return "Calendar"; case 2: return "Contact"; case 3: return "Note"; case 4: return "Task"; case 5: return "Journal"; default: return "Mail"; }
add: return s_folderContentsType[type].contentsTypeStr;
context: static QString folderContentsType( int type ){  switch( type ) {  case 1: return "Calendar";  case 2: return "Contact";  case 3: return "Note";  case 4: return "Task";  case 5: return "Journal";  default: return "Mail";  }}