equal
deleted
inserted
replaced
47 void CntServiceProviderOld2::fetch(const QString &title, const QString &action, const QString& /*filter*/) |
47 void CntServiceProviderOld2::fetch(const QString &title, const QString &action, const QString& /*filter*/) |
48 { |
48 { |
49 CNT_ENTRY |
49 CNT_ENTRY |
50 // Ignore the filter parameter |
50 // Ignore the filter parameter |
51 mCurrentRequestIndex = setCurrentRequestAsync(); |
51 mCurrentRequestIndex = setCurrentRequestAsync(); |
52 mServices.setQuitable(requestInfo().isEmbedded()); |
52 mServices.setQuittable(requestInfo().isEmbedded()); |
53 mServices.multiFetch( title, action, *this ); |
53 mServices.multiFetch( title, action, *this ); |
54 CNT_EXIT |
54 CNT_EXIT |
55 } |
55 } |
56 |
56 |
57 |
57 |
62 { |
62 { |
63 CNT_ENTRY |
63 CNT_ENTRY |
64 // Ignore the filter parameter |
64 // Ignore the filter parameter |
65 // Ignoring fourth argument, because it's not needed. DoFetch() by old contract is only for single-fetching. |
65 // Ignoring fourth argument, because it's not needed. DoFetch() by old contract is only for single-fetching. |
66 mCurrentRequestIndex = setCurrentRequestAsync(); |
66 mCurrentRequestIndex = setCurrentRequestAsync(); |
67 mServices.setQuitable(requestInfo().isEmbedded()); |
67 mServices.setQuittable(requestInfo().isEmbedded()); |
68 mServices.singleFetch( title, action, *this ); |
68 mServices.singleFetch( title, action, *this ); |
69 CNT_EXIT |
69 CNT_EXIT |
70 } |
70 } |
71 |
71 |
72 |
72 |
75 */ |
75 */ |
76 void CntServiceProviderOld2::editCreateNew(const QString& definitionName, const QString& value) |
76 void CntServiceProviderOld2::editCreateNew(const QString& definitionName, const QString& value) |
77 { |
77 { |
78 CNT_ENTRY |
78 CNT_ENTRY |
79 mCurrentRequestIndex = setCurrentRequestAsync(); |
79 mCurrentRequestIndex = setCurrentRequestAsync(); |
80 mServices.setQuitable(requestInfo().isEmbedded()); |
80 mServices.setQuittable(requestInfo().isEmbedded()); |
81 mServices.editCreateNew( definitionName, value, *this ); |
81 mServices.editCreateNew( definitionName, value, *this, false ); // defaultForOnlineAccountIsImpp = false |
82 } |
82 } |
83 |
83 |
84 void CntServiceProviderOld2::editCreateNew(const QString &vCardFile) |
84 void CntServiceProviderOld2::editCreateNew(const QString &vCardFile) |
85 { |
85 { |
86 CNT_ENTRY |
86 CNT_ENTRY |
87 mCurrentRequestIndex = setCurrentRequestAsync(); |
87 mCurrentRequestIndex = setCurrentRequestAsync(); |
88 mServices.setQuitable(requestInfo().isEmbedded()); |
88 mServices.setQuittable(requestInfo().isEmbedded()); |
89 mServices.editCreateNewFromVCard( vCardFile, *this ); |
89 mServices.editCreateNewFromVCard( vCardFile, *this ); |
90 CNT_EXIT |
90 CNT_EXIT |
91 } |
91 } |
92 |
92 |
93 |
93 |
96 */ |
96 */ |
97 void CntServiceProviderOld2::editUpdateExisting(const QString &definitionName, const QString &value) |
97 void CntServiceProviderOld2::editUpdateExisting(const QString &definitionName, const QString &value) |
98 { |
98 { |
99 CNT_ENTRY |
99 CNT_ENTRY |
100 mCurrentRequestIndex = setCurrentRequestAsync(); |
100 mCurrentRequestIndex = setCurrentRequestAsync(); |
101 mServices.setQuitable(requestInfo().isEmbedded()); |
101 mServices.setQuittable(requestInfo().isEmbedded()); |
102 mServices.editUpdateExisting( definitionName, value, *this ); |
102 mServices.editUpdateExisting( definitionName, value, *this, false ); // defaultForOnlineAccountIsImpp = false |
103 CNT_EXIT |
103 CNT_EXIT |
104 } |
104 } |
105 |
105 |
106 |
106 |
107 /*! |
107 /*! |
109 */ |
109 */ |
110 void CntServiceProviderOld2::open(int contactId) |
110 void CntServiceProviderOld2::open(int contactId) |
111 { |
111 { |
112 CNT_ENTRY |
112 CNT_ENTRY |
113 mCurrentRequestIndex = setCurrentRequestAsync(); |
113 mCurrentRequestIndex = setCurrentRequestAsync(); |
114 mServices.setQuitable(requestInfo().isEmbedded()); |
114 mServices.setQuittable(requestInfo().isEmbedded()); |
115 mServices.launchContactCard( contactId, *this ); |
115 mServices.launchContactCard( contactId, *this ); |
116 CNT_EXIT |
116 CNT_EXIT |
117 } |
117 } |
118 |
118 |
119 /*! |
119 /*! |
121 */ |
121 */ |
122 void CntServiceProviderOld2::open(const QString &definitionName, const QString &value) |
122 void CntServiceProviderOld2::open(const QString &definitionName, const QString &value) |
123 { |
123 { |
124 CNT_ENTRY |
124 CNT_ENTRY |
125 mCurrentRequestIndex = setCurrentRequestAsync(); |
125 mCurrentRequestIndex = setCurrentRequestAsync(); |
126 mServices.setQuitable(requestInfo().isEmbedded()); |
126 mServices.setQuittable(requestInfo().isEmbedded()); |
127 mServices.launchTemporaryContactCard( definitionName, value, *this ); // definitionName = field type value = actual field value for prefilling editor |
127 mServices.launchTemporaryContactCard( definitionName, value, *this ); // definitionName = field type value = actual field value for prefilling editor |
128 CNT_EXIT |
128 CNT_EXIT |
129 } |
129 } |
130 |
130 |
131 |
131 |