author | ulf69 <ulf69> | 2004-07-13 15:00:05 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-07-13 15:00:05 (UTC) |
commit | 65848bf858dae95799ec8ed883c23faa48ff8566 (patch) (unidiff) | |
tree | 74835d0d68caa5570b344b8494281786d00e57d5 /kaddressbook | |
parent | eb1ab908047072aa4fb224ab7da6e147d4dcf1e0 (diff) | |
download | kdepimpi-65848bf858dae95799ec8ed883c23faa48ff8566.zip kdepimpi-65848bf858dae95799ec8ed883c23faa48ff8566.tar.gz kdepimpi-65848bf858dae95799ec8ed883c23faa48ff8566.tar.bz2 |
changed output of gender field. Now it can have the values "male", "female" or ""
-rw-r--r-- | kaddressbook/kabcore.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 1a34e4d..8daca33 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -160,13 +160,14 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, QWidget *parent, const | |||
160 | "X-Office", "KADDRESSBOOK" ); | 160 | "X-Office", "KADDRESSBOOK" ); |
161 | mAddressBook->addCustomField( i18n( "IM Address" ), KABC::Field::Personal, | 161 | mAddressBook->addCustomField( i18n( "IM Address" ), KABC::Field::Personal, |
162 | "X-IMAddress", "KADDRESSBOOK" ); | 162 | "X-IMAddress", "KADDRESSBOOK" ); |
163 | mAddressBook->addCustomField( i18n( "Anniversary" ), KABC::Field::Personal, | 163 | mAddressBook->addCustomField( i18n( "Anniversary" ), KABC::Field::Personal, |
164 | "X-Anniversary", "KADDRESSBOOK" ); | 164 | "X-Anniversary", "KADDRESSBOOK" ); |
165 | 165 | ||
166 | //US added this field to become compatible with Opie addressbook | 166 | //US added this field to become compatible with Opie/qtopia addressbook |
167 | // values can be "female" or "male" or "". An empty field represents undefined. | ||
167 | mAddressBook->addCustomField( i18n( "Gender" ), KABC::Field::Personal, | 168 | mAddressBook->addCustomField( i18n( "Gender" ), KABC::Field::Personal, |
168 | "X-Gender", "KADDRESSBOOK" ); | 169 | "X-Gender", "KADDRESSBOOK" ); |
169 | mAddressBook->addCustomField( i18n( "Children" ), KABC::Field::Personal, | 170 | mAddressBook->addCustomField( i18n( "Children" ), KABC::Field::Personal, |
170 | "X-Children", "KADDRESSBOOK" ); | 171 | "X-Children", "KADDRESSBOOK" ); |
171 | mAddressBook->addCustomField( i18n( "FreeBusyUrl" ), KABC::Field::Personal, | 172 | mAddressBook->addCustomField( i18n( "FreeBusyUrl" ), KABC::Field::Personal, |
172 | "X-FreeBusyUrl", "KADDRESSBOOK" ); | 173 | "X-FreeBusyUrl", "KADDRESSBOOK" ); |