[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] Another libkabc thing
From:       Reinhold Kainhofer <reinhold () kainhofer ! com>
Date:       2002-07-04 23:34:18
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Can't the KABC::Addressee:phoneNumber and KABC::Addressee::address set the 
correct type if no entry was found, i.e. instead of 
   return Address();
use a 
   return Address(type);
and in phoneNumber instead of 
  return PhoneNumber();
use a 
  return PhoneNumber(QString(), type);

This would make sense, since then the phoneNumber or address returned by the 
functions always has the correct type set, and the developer would not have 
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=
=Kc+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/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic