Changeset 1213

Show
Ignore:
Timestamp:
08/21/06 16:31:11 (2 years ago)
Author:
dgollub
Message:

- changed vcard request from version 2.1 to 3.0 (ticket #305)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/kdepim/src/kaddrbook.cpp

    r813 r1213  
    125125                         
    126126                // Convert the VCARD data into a string 
    127                 QString tmp = converter.createVCard(*it, KABC::VCardConverter::v2_1); 
     127                // only vcard3.0 exports Categories 
     128                QString tmp = converter.createVCard(*it, KABC::VCardConverter::v3_0); 
     129 
    128130                char *data = strdup((const char *)tmp.utf8()); 
     131 
     132                osync_trace(TRACE_SENSITIVE,"\n%s", data); 
    129133                 
    130134                osync_change_set_data(chg, data, strlen(data) + 1, TRUE); 
     
    132136                // object type and format 
    133137                osync_change_set_objtype_string(chg, "contact"); 
    134                 osync_change_set_objformat_string(chg, "vcard21"); 
     138                osync_change_set_objformat_string(chg, "vcard30"); 
    135139                 
    136140                // Use the hash table to check if the object