equal
deleted
inserted
replaced
23 #include <hbview.h> |
23 #include <hbview.h> |
24 #include <xqappmgr.h> |
24 #include <xqappmgr.h> |
25 |
25 |
26 #include "btmsgviewerutils.h" |
26 #include "btmsgviewerutils.h" |
27 |
27 |
|
28 class HbDeviceDialog; |
|
29 |
28 |
30 |
29 class BTMsgViewer : public XQServiceProvider |
31 class BTMsgViewer : public XQServiceProvider |
30 { |
32 { |
31 Q_OBJECT |
33 Q_OBJECT |
32 |
34 |
34 BTMsgViewer (QObject* parent=0 ); |
36 BTMsgViewer (QObject* parent=0 ); |
35 ~BTMsgViewer (); |
37 ~BTMsgViewer (); |
36 |
38 |
37 public slots: |
39 public slots: |
38 void displaymsg(int messageId); |
40 void displaymsg(int messageId); |
|
41 |
|
42 private slots: |
|
43 void handledialogClosed(); |
39 |
44 |
40 private: |
45 private: |
41 bool isError(int aError); |
46 bool isError(int err); |
42 QString copyVCardToTemp(const QString& filepath); |
47 QString copyVCardToTemp(const QString& filepath); |
43 void deleteVCardFromTemp(const QString& filepath); |
48 void deleteVCardFromTemp(const QString& filepath); |
44 |
49 void launchErrordDialog(int dialogTitle); |
|
50 |
45 private: |
51 private: |
46 int mCurrentRequestIndex; |
52 int mCurrentRequestIndex; |
|
53 HbDeviceDialog* mDialog; |
|
54 int mError; |
47 }; |
55 }; |
48 |
56 |
49 #endif // BTMSGVIEWER_H |
57 #endif // BTMSGVIEWER_H |