Update XDG mimetypes.

pull/21/head
Darrell Anderson 11 years ago
parent 3d3cbd889e
commit cb01cf1166

@ -522,7 +522,7 @@ bool Incidence::loadAttribute( TQDomElement& element )
setAlarm( - element.text().toInt() );
else if ( tagName == "advanced-alarms" )
loadAlarms( element );
else if ( tagName == "x-kde-internaluid" )
else if ( tagName == "x-tde-internaluid" )
setInternalUID( element.text() );
else if ( tagName == "x-custom" )
loadCustomAttributes( element );
@ -563,7 +563,7 @@ bool Incidence::saveAttributes( TQDomElement& element ) const
writeString( element, "alarm", TQString::number( alarmTime ) );
}
saveAlarms( element );
writeString( element, "x-kde-internaluid", internalUID() );
writeString( element, "x-tde-internaluid", internalUID() );
saveCustomAttributes( element );
return true;
}

@ -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() )

Loading…
Cancel
Save