equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef HELPBATHVIEW_H |
|
19 #define HELPBATHVIEW_H |
|
20 |
|
21 #include <hbview.h> |
|
22 |
|
23 #include "HelpCommon.h" |
|
24 #include "HelpDocumentLoader.h" |
|
25 |
|
26 class HbToolBar; |
|
27 |
|
28 class HelpBaseView : public HbView |
|
29 { |
|
30 Q_OBJECT |
|
31 |
|
32 public: |
|
33 HelpBaseView(); |
|
34 ~HelpBaseView(); |
|
35 |
|
36 signals: |
|
37 void activateView(HelpViewName viewName); |
|
38 |
|
39 signals: // from tollbar event |
|
40 void showAllList(); |
|
41 void showFindList(); |
|
42 |
|
43 private slots: // handle tollbar event |
|
44 void onToolbarAll() { emit showAllList(); }; |
|
45 void onToolbarFind() { emit showFindList(); }; |
|
46 void onToolbarOnlineSupport(); |
|
47 |
|
48 private slots: |
|
49 void onOrientationChanged(Qt::Orientation orientation); |
|
50 |
|
51 protected: |
|
52 void initBaseDocMl(); |
|
53 |
|
54 protected: |
|
55 HelpUIBuilder mBuilder; |
|
56 HbToolBar* mToolBar; |
|
57 |
|
58 private: |
|
59 void RefreshToolbarText(Qt::Orientation orientation); |
|
60 }; |
|
61 |
|
62 #endif //HELPBATHVIEW_H |