* Synchronized with enterprise branch

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1170467 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 59521cce70
commit 0cebafdea7

@ -0,0 +1 @@
Revision 1170137

@ -29,7 +29,6 @@ ALFE,birthday,,QDateTime,birthday,Personal,.toString()
#Address address #Address address
LF,home address street,,QString,homeAddressStreet,Address|Personal LF,home address street,,QString,homeAddressStreet,Address|Personal
LF,home address post office box,,QString,homeAddressPostOfficeBox,Address|Personal
LF,home address city,,QString,homeAddressLocality,Address|Personal LF,home address city,,QString,homeAddressLocality,Address|Personal
LF,home address state,,QString,homeAddressRegion,Address|Personal LF,home address state,,QString,homeAddressRegion,Address|Personal
LF,home address zip code,,QString,homeAddressPostalCode,Address|Personal LF,home address zip code,,QString,homeAddressPostalCode,Address|Personal
@ -37,7 +36,6 @@ LF,home address country,,QString,homeAddressCountry,Address|Personal
LF,home address label,,QString,homeAddressLabel,Address|Personal LF,home address label,,QString,homeAddressLabel,Address|Personal
LF,business address street,,QString,businessAddressStreet,Address|Organization LF,business address street,,QString,businessAddressStreet,Address|Organization
LF,business address post office box,,QString,businessAddressPostOfficeBox,Address|Organization
LF,business address city,,QString,businessAddressLocality,Address|Organization LF,business address city,,QString,businessAddressLocality,Address|Organization
LF,business address state,,QString,businessAddressRegion,Address|Organization LF,business address state,,QString,businessAddressRegion,Address|Organization
LF,business address zip code,,QString,businessAddressPostalCode,Address|Organization LF,business address zip code,,QString,businessAddressPostalCode,Address|Organization

@ -184,8 +184,6 @@ TQString Field::value( const KABC::Addressee &a )
return a.phoneNumber( PhoneNumber::Pager ).number(); return a.phoneNumber( PhoneNumber::Pager ).number();
case FieldImpl::HomeAddressStreet: case FieldImpl::HomeAddressStreet:
return a.address( Address::Home ).street(); return a.address( Address::Home ).street();
case FieldImpl::HomeAddressPostOfficeBox:
return a.address( Address::Home ).postOfficeBox();
case FieldImpl::HomeAddressLocality: case FieldImpl::HomeAddressLocality:
return a.address( Address::Home ).locality(); return a.address( Address::Home ).locality();
case FieldImpl::HomeAddressRegion: case FieldImpl::HomeAddressRegion:
@ -198,8 +196,6 @@ TQString Field::value( const KABC::Addressee &a )
return a.address( Address::Home ).label(); return a.address( Address::Home ).label();
case FieldImpl::BusinessAddressStreet: case FieldImpl::BusinessAddressStreet:
return a.address( Address::Work ).street(); return a.address( Address::Work ).street();
case FieldImpl::BusinessAddressPostOfficeBox:
return a.address( Address::Work ).postOfficeBox();
case FieldImpl::BusinessAddressLocality: case FieldImpl::BusinessAddressLocality:
return a.address( Address::Work ).locality(); return a.address( Address::Work ).locality();
case FieldImpl::BusinessAddressRegion: case FieldImpl::BusinessAddressRegion:
@ -270,13 +266,6 @@ bool Field::setValue( KABC::Addressee &a, const TQString &value )
a.insertAddress( address ); a.insertAddress( address );
return true; return true;
} }
case FieldImpl::HomeAddressPostOfficeBox:
{
KABC::Address address = a.address( Address::Home );
address.setPostOfficeBox( value );
a.insertAddress( address );
return true;
}
case FieldImpl::HomeAddressLocality: case FieldImpl::HomeAddressLocality:
{ {
KABC::Address address = a.address( Address::Home ); KABC::Address address = a.address( Address::Home );
@ -319,13 +308,6 @@ bool Field::setValue( KABC::Addressee &a, const TQString &value )
a.insertAddress( address ); a.insertAddress( address );
return true; return true;
} }
case FieldImpl::BusinessAddressPostOfficeBox:
{
KABC::Address address = a.address( Address::Work );
address.setPostOfficeBox( value );
a.insertAddress( address );
return true;
}
case FieldImpl::BusinessAddressLocality: case FieldImpl::BusinessAddressLocality:
{ {
KABC::Address address = a.address( Address::Work ); KABC::Address address = a.address( Address::Work );

Loading…
Cancel
Save