From kde-pim Thu Jul 04 23:34:18 2002 From: Reinhold Kainhofer Date: Thu, 04 Jul 2002 23:34:18 +0000 To: kde-pim Subject: [Kde-pim] Another libkabc thing X-MARC-Message: https://marc.info/?l=kde-pim&m=102585817804204 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Can't the KABC::Addressee:phoneNumber and KABC::Addressee::address set th= e=20 correct type if no entry was found, i.e. instead of=20 return Address(); use a=20 return Address(type); and in phoneNumber instead of=20 return PhoneNumber(); use a=20 return PhoneNumber(QString(), type); This would make sense, since then the phoneNumber or address returned by = the=20 functions always has the correct type set, and the developer would not ha= ve=20 to bother about setting this just to make sure it is correct. Reinhold -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9JNuCTqjEwhXvPN0RAonTAKDC4e1r+rhlS1YS9Kl3uJIV0w9+rgCcCmvO fdfy9fp3GWCXww4NycTHDJA=3D =3DKc+1 -----END PGP SIGNATURE----- _______________________________________________ kde-pim mailing list kde-pim@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-pim kde-pim home page at http://pim.kde.org/