equal
deleted
inserted
replaced
18 #ifndef HELPCONTENTSVIEW_H |
18 #ifndef HELPCONTENTSVIEW_H |
19 #define HELPCONTENTSVIEW_H |
19 #define HELPCONTENTSVIEW_H |
20 |
20 |
21 #include <QUrl> |
21 #include <QUrl> |
22 |
22 |
23 #include <hbview.h> |
23 #include <HelpBaseView.h> |
24 |
24 |
25 #include "HelpCommon.h" |
|
26 #include "HelpDocumentLoader.h" |
25 #include "HelpDocumentLoader.h" |
27 |
26 |
28 class BrowserWrapper; |
27 class BrowserWrapper; |
29 |
28 |
30 class HelpContentsView : public HbView |
29 class HelpContentsView : public HelpBaseView |
31 { |
30 { |
32 Q_OBJECT |
31 Q_OBJECT |
33 |
32 |
34 public: |
33 public: |
35 HelpContentsView(); |
34 HelpContentsView(); |
38 public: |
37 public: |
39 void init(); |
38 void init(); |
40 |
39 |
41 private: |
40 private: |
42 void initDocMl(); |
41 void initDocMl(); |
43 void initBackAction(); |
42 void initBackAction(); |
44 |
43 |
45 signals: |
|
46 void activateView(HelpViewName viewName); |
|
47 |
|
48 private: |
44 private: |
49 bool openApplication(const QUrl& url); |
45 bool openApplication(const QUrl& url); |
50 bool openExternalLink(const QUrl& url); |
46 bool openExternalLink(const QUrl& url); |
51 void openHelpContent(const QUrl& url=QUrl()); |
47 void openHelpContent(const QUrl& url=QUrl()); |
52 |
48 |
53 private slots: // handle system event |
49 private slots: // handle system event |
54 void onCurrentViewChanged(HbView *view); |
50 void onViewReady(); |
55 |
51 |
56 private slots: // handle button action |
52 private slots: // handle button action |
57 void onBackAction(); |
53 void onBackAction(); |
58 |
54 |
59 private slots: // handle browser event |
55 private slots: // handle browser event |
61 void onUrlChanged(const QUrl& url); |
57 void onUrlChanged(const QUrl& url); |
62 |
58 |
63 private: |
59 private: |
64 BrowserWrapper* mBrowser; |
60 BrowserWrapper* mBrowser; |
65 HbAction* mSoftKeyAction; |
61 HbAction* mSoftKeyAction; |
66 HelpUIBuilder mBuilder; |
|
67 }; |
62 }; |
68 |
63 |
69 #endif //HELPCONTENTSVIEW_H |
64 #endif //HELPCONTENTSVIEW_H |