24 * Logs application services |
24 * Logs application services |
25 * @deprecated Use XQApplicationManager instead. |
25 * @deprecated Use XQApplicationManager instead. |
26 * Service name: "logs", |
26 * Service name: "logs", |
27 * Interface name: "com.nokia.symbian.ILogsView" |
27 * Interface name: "com.nokia.symbian.ILogsView" |
28 * Operation signature: "show(QVariantMap)" |
28 * Operation signature: "show(QVariantMap)" |
|
29 * |
|
30 * @deprecated don't use parameters below, they will be replaced (see xqaiwdecl.h mcl_w28-30) |
29 * Operation parameters: |
31 * Operation parameters: |
30 * "view_index": int, 0 - all recent, 1 - received, 2 - called, 3 - missed |
32 * "view_index": int, 0 - all recent, 1 - received, 2 - called, 3 - missed |
31 * "show_dialpad": bool, if true view is shown with dialpad opened on top |
33 * "show_dialpad": bool, if true view is shown with dialpad opened on top |
32 * "dialpad_text": QString, number to be prefilled into dialpad |
34 * "dialpad_text": QString, number to be prefilled into dialpad |
33 * |
35 * |
|
36 * New params: |
|
37 * "ViewIndex": int, 0 - all recent, 1 - received, 2 - called, 3 - missed |
|
38 * "ShowDialpad": bool, if true view is shown with dialpad opened on top |
|
39 * "DialpadText": QString, number to be prefilled into dialpad |
|
40 * |
34 * Example usage: |
41 * Example usage: |
35 * XQApplicationManager appMgr; |
42 * XQApplicationManager appMgr; |
36 * QScopedPointer<XQAiwRequest> request(appMgr.create(QString("logs"), |
43 * QScopedPointer<XQAiwRequest> request(appMgr.create(QString("logs"), |
37 * QString("com.nokia.symbian.ILogsView"), |
44 * QString("com.nokia.symbian.ILogsView"), |
38 * QString("show(QVariantMap)"), false)); |
45 * QString("show(QVariantMap)"), false)); |
39 * if (!request.isNull()) { |
46 * if (!request.isNull()) { |
40 * int retValue = -1; |
47 * int retValue = -1; |
41 * QList<QVariant> arglist; |
48 * QList<QVariant> arglist; |
42 * QVariantMap map; |
49 * QVariantMap map; |
43 * map.insert("view_index", QVariant(0)); |
50 * map.insert("ViewIndex", QVariant(0)); |
44 * map.insert("show_dialpad", QVariant(true)); |
51 * map.insert("ShowDialpad", QVariant(true)); |
45 * map.insert("dialpad_text", QVariant(QString())); |
52 * map.insert("DialpadText", QVariant(QString())); |
46 * arglist.append(QVariant(map)); |
53 * arglist.append(QVariant(map)); |
47 * request->setArguments(arglist); |
54 * request->setArguments(arglist); |
48 * QVariant ret(retValue); |
55 * QVariant ret(retValue); |
49 * request->send(ret); |
56 * request->send(ret); |
50 * } |
57 * } |