equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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 FBMAINWINDOW_H_ |
|
19 #define FBMAINWINDOW_H_ |
|
20 |
|
21 #include <hbmainwindow.h> |
|
22 |
|
23 class HbApplication; |
|
24 class HbView; |
|
25 |
|
26 class EngineWrapper; |
|
27 class FbDriveView; |
|
28 class FbFileView; |
|
29 class SettingsView; |
|
30 class EditorView; |
|
31 class SearchView; |
|
32 |
|
33 class FbMainWindow : public HbMainWindow |
|
34 { |
|
35 Q_OBJECT |
|
36 |
|
37 public: |
|
38 explicit FbMainWindow(QWidget *parent = 0); |
|
39 virtual ~FbMainWindow(); |
|
40 |
|
41 void init(); |
|
42 |
|
43 private slots: |
|
44 void openPreviousBrowserView(); |
|
45 void openFileBrowserView(bool); |
|
46 void openDriveView(); |
|
47 void openFileView(); |
|
48 void openSettingsView(); |
|
49 void openEditorView(const QString &, bool); |
|
50 void openSearchView(const QString &); |
|
51 |
|
52 private: |
|
53 EngineWrapper *mEngineWrapper; |
|
54 FbDriveView *mDriveView; |
|
55 FbFileView *mFileView; |
|
56 SettingsView *mSettingsView; |
|
57 EditorView *mEditorView; |
|
58 SearchView *mSearchView; |
|
59 HbView *mPreviousView; |
|
60 }; |
|
61 |
|
62 #endif /* FBMAINWINDOW_H_ */ |