equal
deleted
inserted
replaced
21 #include <hbmainwindow.h> |
21 #include <hbmainwindow.h> |
22 |
22 |
23 #include "HelpCommon.h" |
23 #include "HelpCommon.h" |
24 #include "HelpDocumentLoader.h" |
24 #include "HelpDocumentLoader.h" |
25 |
25 |
|
26 class HelpBaseView; |
26 class HelpCategoryView; |
27 class HelpCategoryView; |
|
28 class HelpKeywordView; |
27 class HelpContentsView; |
29 class HelpContentsView; |
28 class HbToolBar; |
|
29 |
30 |
30 class HelpMainWindow : public HbMainWindow |
31 class HelpMainWindow : public HbMainWindow |
31 { |
32 { |
32 Q_OBJECT |
33 Q_OBJECT |
33 |
34 |
38 private slots: |
39 private slots: |
39 void onActivateView(HelpViewName viewName); |
40 void onActivateView(HelpViewName viewName); |
40 |
41 |
41 private: // activate views |
42 private: // activate views |
42 void activateCategoryView(); |
43 void activateCategoryView(); |
|
44 void activateKeywordView(); |
43 void activateContentsView(); |
45 void activateContentsView(); |
44 void initToolbar(); |
|
45 void RefreshToolbarText(Qt::Orientation orientation); |
|
46 |
46 |
47 private: |
47 private: |
48 void connectViewSignal(const QObject *object); |
48 void connectViewSignal(const HelpBaseView *view); |
49 |
49 |
50 signals: |
50 private slots: // handle view event |
51 void backActionSignal(); |
51 void onShowAllList(); |
52 |
52 void onShowFindList(); |
53 private slots: // handle tollbar event |
|
54 void onToolbarAll(); |
|
55 void onToolbarFind(); |
|
56 void onToolbarOnlineSupport(); |
|
57 |
|
58 private slots: |
|
59 void onOrientationChanged(Qt::Orientation orientation); |
|
60 |
53 |
61 private: |
54 private: |
62 HelpCategoryView* mCategoryView; |
55 HelpCategoryView* mCategoryView; |
|
56 HelpKeywordView* mKeywordView; |
63 HelpContentsView* mContentsView; |
57 HelpContentsView* mContentsView; |
64 HbToolBar* mToolBar; |
58 HelpViewName mPreviousViewName; |
65 HelpUIBuilder mBuilder; |
|
66 |
|
67 }; |
59 }; |
68 |
60 |
69 #endif //HELPMAINWINDOW_H |
61 #endif //HELPMAINWINDOW_H |