44 |
44 |
45 void CntServiceProviderEdit::editCreateNew(const QString& definitionName, const QString& value) |
45 void CntServiceProviderEdit::editCreateNew(const QString& definitionName, const QString& value) |
46 { |
46 { |
47 CNT_ENTRY |
47 CNT_ENTRY |
48 mCurrentRequestIndex = setCurrentRequestAsync(); |
48 mCurrentRequestIndex = setCurrentRequestAsync(); |
49 mServices.setQuitable(requestInfo().isEmbedded()); |
49 mServices.setQuittable(requestInfo().isEmbedded()); |
50 mServices.editCreateNew( definitionName, value, *this ); |
50 mServices.editCreateNew( definitionName, value, *this ); |
|
51 CNT_EXIT |
|
52 } |
|
53 |
|
54 void CntServiceProviderEdit::editCreateNew(const QString& definitionName, const QString& value, const QString &subType) |
|
55 { |
|
56 CNT_ENTRY |
|
57 mCurrentRequestIndex = setCurrentRequestAsync(); |
|
58 mServices.setQuittable(requestInfo().isEmbedded()); |
|
59 mServices.editCreateNew( definitionName, value, subType, *this ); |
51 CNT_EXIT |
60 CNT_EXIT |
52 } |
61 } |
53 |
62 |
54 void CntServiceProviderEdit::editCreateNewFromVCard(const QString &vCardFile) |
63 void CntServiceProviderEdit::editCreateNewFromVCard(const QString &vCardFile) |
55 { |
64 { |
56 CNT_ENTRY |
65 CNT_ENTRY |
57 mCurrentRequestIndex = setCurrentRequestAsync(); |
66 mCurrentRequestIndex = setCurrentRequestAsync(); |
58 mServices.setQuitable(requestInfo().isEmbedded()); |
67 mServices.setQuittable(requestInfo().isEmbedded()); |
59 mServices.editCreateNewFromVCard( vCardFile, *this ); |
68 mServices.editCreateNewFromVCard( vCardFile, *this ); |
60 CNT_EXIT |
69 CNT_EXIT |
61 } |
70 } |
62 |
71 |
63 void CntServiceProviderEdit::editExisting(int contactId) |
72 void CntServiceProviderEdit::editExisting(int contactId) |
64 { |
73 { |
65 CNT_ENTRY |
74 CNT_ENTRY |
66 mCurrentRequestIndex = setCurrentRequestAsync(); |
75 mCurrentRequestIndex = setCurrentRequestAsync(); |
67 mServices.setQuitable(requestInfo().isEmbedded()); |
76 mServices.setQuittable(requestInfo().isEmbedded()); |
68 mServices.editExisting( contactId, *this ); |
77 mServices.editExisting( contactId, *this ); |
69 CNT_EXIT |
78 CNT_EXIT |
70 } |
79 } |
71 |
80 |
72 void CntServiceProviderEdit::editUpdateExisting(const QString &definitionName, const QString &value) |
81 void CntServiceProviderEdit::editUpdateExisting(const QString &definitionName, const QString &value) |
73 { |
82 { |
74 CNT_ENTRY |
83 CNT_ENTRY |
75 mCurrentRequestIndex = setCurrentRequestAsync(); |
84 mCurrentRequestIndex = setCurrentRequestAsync(); |
76 mServices.setQuitable(requestInfo().isEmbedded()); |
85 mServices.setQuittable(requestInfo().isEmbedded()); |
77 mServices.editUpdateExisting( definitionName, value, *this ); |
86 mServices.editUpdateExisting( definitionName, value, *this ); |
78 CNT_EXIT |
87 CNT_EXIT |
79 } |
88 } |
80 |
89 |
|
90 void CntServiceProviderEdit::editUpdateExisting(const QString &definitionName, const QString &value, const QString &subType) |
|
91 { |
|
92 CNT_ENTRY |
|
93 mCurrentRequestIndex = setCurrentRequestAsync(); |
|
94 mServices.setQuittable(requestInfo().isEmbedded()); |
|
95 mServices.editUpdateExisting( definitionName, value, subType, *this ); |
|
96 CNT_EXIT |
|
97 } |
81 |
98 |
82 void CntServiceProviderEdit::CompleteServiceAndCloseApp(const QVariant& retValue) |
99 void CntServiceProviderEdit::CompleteServiceAndCloseApp(const QVariant& retValue) |
83 { |
100 { |
84 CNT_ENTRY |
101 CNT_ENTRY |
85 connect(this, SIGNAL(returnValueDelivered()), qApp, SLOT(quit())); |
102 connect(this, SIGNAL(returnValueDelivered()), qApp, SLOT(quit())); |