author | eilers <eilers> | 2002-11-08 10:32:28 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-11-08 10:32:28 (UTC) |
commit | 8714e7c5271b80bf61de10f3726bce8b6a85127f (patch) (side-by-side diff) | |
tree | 04e9d13745d207f6101a01439ad727b494aed432 | |
parent | 585e766bcb974079957dabcbaf487c21211caa8b (diff) | |
download | opie-8714e7c5271b80bf61de10f3726bce8b6a85127f.zip opie-8714e7c5271b80bf61de10f3726bce8b6a85127f.tar.gz opie-8714e7c5271b80bf61de10f3726bce8b6a85127f.tar.bz2 |
temporarely deactivated anniversary in vcard
-rw-r--r-- | libopie/pim/ocontact.cpp | 5 | ||||
-rw-r--r-- | libopie2/opiepim/ocontact.cpp | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/libopie/pim/ocontact.cpp b/libopie/pim/ocontact.cpp index 8a0930b..b0f0d7f 100644 --- a/libopie/pim/ocontact.cpp +++ b/libopie/pim/ocontact.cpp @@ -1151,9 +1151,9 @@ static VObject *createVObject( const OContact &c ) safeAddPropValue( vcard, "X-Qtopia-Assistant", c.assistant() ); 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() ); return vcard; @@ -1230,8 +1230,9 @@ static OContact parseVObject( VObject *obj ) while( moreIteration( &nit ) ) { VObject *o = nextVObject( &nit ); QCString name = vObjectName( o ); QString value = vObjectStringZValue( o ); + if ( name == VCHomeProp ) work = FALSE; else if ( name == VCWorkProp ) work = TRUE; @@ -1379,9 +1380,9 @@ static OContact parseVObject( VObject *obj ) else if ( name == "X-Qtopia-Gender" ) { 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 ); } 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 @@ -1151,9 +1151,9 @@ static VObject *createVObject( const OContact &c ) safeAddPropValue( vcard, "X-Qtopia-Assistant", c.assistant() ); 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() ); return vcard; @@ -1230,8 +1230,9 @@ static OContact parseVObject( VObject *obj ) while( moreIteration( &nit ) ) { VObject *o = nextVObject( &nit ); QCString name = vObjectName( o ); QString value = vObjectStringZValue( o ); + if ( name == VCHomeProp ) work = FALSE; else if ( name == VCWorkProp ) work = TRUE; @@ -1379,9 +1380,9 @@ static OContact parseVObject( VObject *obj ) else if ( name == "X-Qtopia-Gender" ) { 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 ); } |