20 #include <QString> |
20 #include <QString> |
21 #include <logsexport.h> |
21 #include <logsexport.h> |
22 |
22 |
23 /** |
23 /** |
24 * Logs application services |
24 * Logs application services |
|
25 * @deprecated Use XQApplicationManager instead. |
|
26 * Service name: "logs", |
|
27 * Interface name: "com.nokia.symbian.ILogsView" |
|
28 * Operation signature: "show(QVariantMap)" |
|
29 * Operation parameters: |
|
30 * "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 |
|
32 * "dialpad_text": QString, number to be prefilled into dialpad |
|
33 * |
|
34 * Example usage: |
|
35 * XQApplicationManager appMgr; |
|
36 * QScopedPointer<XQAiwRequest> request(appMgr.create(QString("logs"), |
|
37 * QString("com.nokia.symbian.ILogsView"), |
|
38 * QString("show(QVariantMap)"), false)); |
|
39 * if (!request.isNull()) { |
|
40 * int retValue = -1; |
|
41 * QList<QVariant> arglist; |
|
42 * QVariantMap map; |
|
43 * map.insert("view_index", QVariant(0)); |
|
44 * map.insert("show_dialpad", QVariant(true)); |
|
45 * map.insert("dialpad_text", QVariant(QString())); |
|
46 * arglist.append(QVariant(map)); |
|
47 * request->setArguments(arglist); |
|
48 * QVariant ret(retValue); |
|
49 * request->send(ret); |
|
50 * } |
|
51 * |
25 */ |
52 */ |
26 class LogsServices |
53 class LogsServices |
27 { |
54 { |
28 public: |
55 public: |
29 |
56 |
|
57 //Deprecated |
30 enum LogsView{ |
58 enum LogsView{ |
31 ViewAll, |
59 ViewAll, |
32 ViewReceived, |
60 ViewReceived, |
33 ViewCalled, |
61 ViewCalled, |
34 ViewMissed |
62 ViewMissed |
35 }; |
63 }; |
36 /** |
64 /** |
37 * Requests to start Logs application. If Logs is already running, |
65 * Requests to start Logs application. If Logs is already running, |
38 * activates the requested view. |
66 * activates the requested view. |
|
67 * |
|
68 * @deprecated Use "com.nokia.symbian.ILogsView" interface |
|
69 * and "show(int,bool,QString)" operation instead |
39 * |
70 * |
40 * @param activatedView The view to be activated in Logs. |
71 * @param activatedView The view to be activated in Logs. |
41 * @param showDialpad Specifies whether dialpad should be shown on top |
72 * @param showDialpad Specifies whether dialpad should be shown on top |
42 * of the activated view |
73 * of the activated view |
43 * @param number Predefined number for dialpad |
74 * @param number Predefined number for dialpad |