示例#1
0
void TypedProperty::setProperty(vCardProperty& prop) {
    if (p) delete p;

    p = prop.clone();
}
void PersonalDetail::setPhoto(vCardProperty& p) {
    if (photo) delete photo;

    photo = p.clone();
}