From 8714e7c5271b80bf61de10f3726bce8b6a85127f Mon Sep 17 00:00:00 2001 From: eilers Date: Fri, 08 Nov 2002 10:32:28 +0000 Subject: temporarely deactivated anniversary in vcard --- (limited to 'libopie2/opiepim') diff --git a/libopie2/opiepim/ocontact.cpp b/libopie2/opiepim/ocontact.cpp index 8a0930b..b0f0d7f 100644 --- a/libopie2/opiepim/ocontact.cpp +++ b/libopie2/opiepim/ocontact.cpp @@ -1152,7 +1152,7 @@ static VObject *createVObject( const OContact &c ) safeAddPropValue( vcard, "X-Qtopia-Spouse", c.spouse() ); safeAddPropValue( vcard, "X-Qtopia-Gender", c.gender() ); - safeAddPropValue( vcard, "X-Qtopia-Anniversary", TimeConversion::toString( c.anniversary() ) ); + // safeAddPropValue( vcard, "X-Qtopia-Anniversary", TimeConversion::toString( c.anniversary() ) ); :SX safeAddPropValue( vcard, "X-Qtopia-Nickname", c.nickname() ); safeAddPropValue( vcard, "X-Qtopia-Children", c.children() ); @@ -1231,6 +1231,7 @@ static OContact parseVObject( VObject *obj ) VObject *o = nextVObject( &nit ); QCString name = vObjectName( o ); QString value = vObjectStringZValue( o ); + if ( name == VCHomeProp ) work = FALSE; else if ( name == VCWorkProp ) @@ -1380,7 +1381,7 @@ static OContact parseVObject( VObject *obj ) c.setGender( value ); } else if ( name == "X-Qtopia-Anniversary" ) { - c.setAnniversary( TimeConversion::fromString( value ) ); +// c.setAnniversary( TimeConversion::fromString( value ) ); :SX } else if ( name == "X-Qtopia-Nickname" ) { c.setNickname( value ); -- cgit v0.9.0.2