rem: int PhoneTypeDialog::type() const
add: int PhoneTypeCombo::type() const
context: int PhoneTypeDialog::type() const{  int type = 0;  for ( int i = 0; i < mGroup->count(); ++i ) {    QCheckBox *box = (QCheckBox*)mGroup->find( i );    if ( box->isChecked() )      type += mTypeList[ i ];  }  if ( mPreferredBox->isChecked() )    type = type | KABC::PhoneNumber::Pref;  else    type = type & ~KABC::PhoneNumber::Pref;  return type;}