26
|
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 |
protected:
|
|
49 |
void initBaseDocMl();
|
|
50 |
|
|
51 |
protected:
|
|
52 |
HelpUIBuilder mBuilder;
|
|
53 |
HbToolBar* mToolBar;
|
|
54 |
};
|
|
55 |
|
|
56 |
#endif //HELPBATHVIEW_H
|