|
|
|
@ -514,7 +514,7 @@ bool Contact::loadAddressAttribute( TQDomElement& element )
|
|
|
|
|
|
|
|
|
|
if ( tagName == "type" )
|
|
|
|
|
address.type = e.text();
|
|
|
|
|
else if ( tagName == "x-kde-type" )
|
|
|
|
|
else if ( tagName == "x-tde-type" )
|
|
|
|
|
address.kdeAddressType = e.text().toInt();
|
|
|
|
|
else if ( tagName == "street" )
|
|
|
|
|
address.street = e.text();
|
|
|
|
@ -547,7 +547,7 @@ void Contact::saveAddressAttributes( TQDomElement& element ) const
|
|
|
|
|
element.appendChild( e );
|
|
|
|
|
const Address& a = *it;
|
|
|
|
|
writeString( e, "type", a.type );
|
|
|
|
|
writeString( e, "x-kde-type", TQString::number( a.kdeAddressType ) );
|
|
|
|
|
writeString( e, "x-tde-type", TQString::number( a.kdeAddressType ) );
|
|
|
|
|
if ( !a.street.isEmpty() )
|
|
|
|
|
writeString( e, "street", a.street );
|
|
|
|
|
if ( !a.pobox.isEmpty() )
|
|
|
|
|