rem: bool AbbrowserConduit::_equal(const PilotAddress & piAddress, KABC::Addressee & abEntry) const { if(_compare(abEntry.familyName(), piAddress.getField(entryLastname))) return false; if(_compare(abEntry.givenName(), piAddress.getField(entryFirstname))) return false; if(_compare(abEntry.title(), piAddress.getField(entryTitle))) return false; if(_compare(abEntry.organization(), piAddress.getField(entryCompany))) return false; if(_compare(abEntry.note(), piAddress.getField(entryNote))) return false; int cat = _getCat(abEntry.categories()); if(_compare(fAddressAppInfo.category.name[cat], piAddress.getCategoryLabel())) return false; if(_compare(abEntry.phoneNumber(KABC::PhoneNumber::Work).number(), piAddress.getPhoneField(PilotAddress::eWork))) return false; if(_compare(abEntry.phoneNumber(KABC::PhoneNumber::Home).number(), piAddress.getPhoneField(PilotAddress::eHome))) return false; if(_compare(getOtherField(abEntry), piAddress.getPhoneField(PilotAddress::eOther))) return false; if(_compare(abEntry.preferredEmail(), piAddress.getPhoneField(PilotAddress::eEmail))) return false; if(_compare(getFax(abEntry).number(), piAddress.getPhoneField(PilotAddress::eFax))) return false; if(_compare(abEntry.phoneNumber(KABC::PhoneNumber::Cell).number(), piAddress.getPhoneField(PilotAddress::eMobile))) return false;  KABC::Address address = getAddress(abEntry); if(_compare(address.street(), piAddress.getField(entryAddress))) return false; if(_compare(address.locality(), piAddress.getField(entryCity))) return false; if(_compare(address.region(), piAddress.getField(entryState))) return false; if(_compare(address.postalCode(), piAddress.getField(entryZip))) return false; if(_compare(address.country(), piAddress.getField(entryCountry))) return false;  if( _compare(abEntry.custom(appString, "CUSTOM1"), piAddress.getField(entryCustom1)) || _compare(abEntry.custom(appString, "CUSTOM2"), piAddress.getField(entryCustom2)) || _compare(abEntry.custom(appString, "CUSTOM3"), piAddress.getField(entryCustom3)) || _compare(abEntry.custom(appString, "CUSTOM4"), piAddress.getField(entryCustom4)))
add: inline bool _equal(const QString & str1, const QString & str2) const
context: bool AbbrowserConduit::_equal(const PilotAddress & piAddress, KABC::Addressee & abEntry) const{	if(_compare(abEntry.familyName(), piAddress.getField(entryLastname))) return false;	if(_compare(abEntry.givenName(), piAddress.getField(entryFirstname))) return false;	if(_compare(abEntry.title(), piAddress.getField(entryTitle))) return false;	if(_compare(abEntry.organization(), piAddress.getField(entryCompany))) return false;	if(_compare(abEntry.note(), piAddress.getField(entryNote))) return false;	int cat = _getCat(abEntry.categories());	if(_compare(fAddressAppInfo.category.name[cat], piAddress.getCategoryLabel())) return false;	if(_compare(abEntry.phoneNumber(KABC::PhoneNumber::Work).number(),			piAddress.getPhoneField(PilotAddress::eWork))) return false;	if(_compare(abEntry.phoneNumber(KABC::PhoneNumber::Home).number(),			piAddress.getPhoneField(PilotAddress::eHome))) return false;	if(_compare(getOtherField(abEntry),			piAddress.getPhoneField(PilotAddress::eOther))) return false;	if(_compare(abEntry.preferredEmail(),			piAddress.getPhoneField(PilotAddress::eEmail))) return false;	if(_compare(getFax(abEntry).number(),			piAddress.getPhoneField(PilotAddress::eFax))) return false;	if(_compare(abEntry.phoneNumber(KABC::PhoneNumber::Cell).number(),			piAddress.getPhoneField(PilotAddress::eMobile))) return false;	KABC::Address address = getAddress(abEntry);	if(_compare(address.street(), piAddress.getField(entryAddress))) return false;	if(_compare(address.locality(), piAddress.getField(entryCity))) return false;	if(_compare(address.region(), piAddress.getField(entryState))) return false;	if(_compare(address.postalCode(), piAddress.getField(entryZip))) return false;	if(_compare(address.country(), piAddress.getField(entryCountry))) return false;	if(		_compare(abEntry.custom(appString, "CUSTOM1"), piAddress.getField(entryCustom1)) ||		_compare(abEntry.custom(appString, "CUSTOM2"), piAddress.getField(entryCustom2)) ||		_compare(abEntry.custom(appString, "CUSTOM3"), piAddress.getField(entryCustom3)) ||		_compare(abEntry.custom(appString, "CUSTOM4"), piAddress.getField(entryCustom4)))	{		return false;	}		if (piAddress.getCat()!=_getCat(abEntry.categories())) return false;	return true;}