equal
deleted
inserted
replaced
94 dept->setDepartment(departmentName); |
94 dept->setDepartment(departmentName); |
95 contact->saveDetail(dept); |
95 contact->saveDetail(dept); |
96 |
96 |
97 number = new QContactPhoneNumber(); |
97 number = new QContactPhoneNumber(); |
98 number->setContexts(QContactDetail::ContextWork); |
98 number->setContexts(QContactDetail::ContextWork); |
99 number->setNumber("+1-650-286-3350?"); |
99 number->setNumber("+1-650-286-3350"); |
100 contact->saveDetail(number); |
100 contact->saveDetail(number); |
101 //fire.setPreferredDetail("DialAction",number); //doesn't compile. Has it been depreciated? |
101 //fire.setPreferredDetail("DialAction",number); //doesn't compile. Has it been depreciated? |
102 |
102 |
103 // create address detail |
103 // create address detail |
104 address = new QContactAddress(); |
104 address = new QContactAddress(); |
127 dept->setDepartment(departmentName); |
127 dept->setDepartment(departmentName); |
128 contact->saveDetail(dept); |
128 contact->saveDetail(dept); |
129 |
129 |
130 number = new QContactPhoneNumber(); |
130 number = new QContactPhoneNumber(); |
131 number->setContexts(QContactDetail::ContextWork); |
131 number->setContexts(QContactDetail::ContextWork); |
132 number->setNumber("+1(650)286-3300?"); |
132 number->setNumber("+1(650)286-3300"); |
133 contact->saveDetail(number); |
133 contact->saveDetail(number); |
134 |
134 |
135 // create address detail |
135 // create address detail |
136 address = new QContactAddress(); |
136 address = new QContactAddress(); |
137 address->setCountry("USA"); |
137 address->setCountry("USA"); |
157 dept->setDepartment(departmentName); |
157 dept->setDepartment(departmentName); |
158 contact->saveDetail(dept); |
158 contact->saveDetail(dept); |
159 |
159 |
160 number = new QContactPhoneNumber(); |
160 number = new QContactPhoneNumber(); |
161 number->setContexts(QContactDetail::ContextWork); |
161 number->setContexts(QContactDetail::ContextWork); |
162 number->setNumber("+1(650)367-9999?"); |
162 number->setNumber("+1(650)367-9999"); |
163 contact->saveDetail(number); |
163 contact->saveDetail(number); |
164 |
164 |
165 // create address detail |
165 // create address detail |
166 address = new QContactAddress(); |
166 address = new QContactAddress(); |
167 address->setCountry("USA"); |
167 address->setCountry("USA"); |
187 dept->setDepartment(departmentName); |
187 dept->setDepartment(departmentName); |
188 contact->saveDetail(dept); |
188 contact->saveDetail(dept); |
189 |
189 |
190 number = new QContactPhoneNumber(); |
190 number = new QContactPhoneNumber(); |
191 number->setContexts(QContactDetail::ContextWork); |
191 number->setContexts(QContactDetail::ContextWork); |
192 number->setNumber("+1(650)688-8400??"); |
192 number->setNumber("+1(650)688-8400"); |
193 contact->saveDetail(number); |
193 contact->saveDetail(number); |
194 |
194 |
195 // create address detail |
195 // create address detail |
196 address = new QContactAddress(); |
196 address = new QContactAddress(); |
197 address->setCountry("USA"); |
197 address->setCountry("USA"); |
218 dept->setDepartment(departmentName); |
218 dept->setDepartment(departmentName); |
219 contact->saveDetail(dept); |
219 contact->saveDetail(dept); |
220 |
220 |
221 number = new QContactPhoneNumber(); |
221 number = new QContactPhoneNumber(); |
222 number->setContexts(QContactDetail::ContextWork); |
222 number->setContexts(QContactDetail::ContextWork); |
223 number->setNumber("+1(650)858-3328???"); |
223 number->setNumber("+1(650)858-3328"); |
224 contact->saveDetail(number); |
224 contact->saveDetail(number); |
225 |
225 |
226 // create address detail |
226 // create address detail |
227 address = new QContactAddress(); |
227 address = new QContactAddress(); |
228 address->setCountry("USA"); |
228 address->setCountry("USA"); |