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 * Zhiqiang Yang <zhiqiang.yang@nokia.com> |
|
14 * |
|
15 * Description: |
|
16 * The header file of the file find view of file manager |
|
17 * |
|
18 */ |
|
19 |
|
20 #ifndef FMFINDVIEW_H |
|
21 #define FMFINDVIEW_H |
|
22 |
|
23 #include "fmcommon.h" |
|
24 #include "fmviewbase.h" |
|
25 |
|
26 class HbProgressDialog; |
|
27 class HbMenu; |
|
28 class FmFindWidget; |
|
29 |
|
30 class FmFindView : public FmViewBase |
|
31 { |
|
32 Q_OBJECT |
|
33 public: |
|
34 FmFindView(); |
|
35 virtual ~FmFindView(); |
|
36 |
|
37 void find( const QString &keyword, const QString &path ); |
|
38 |
|
39 public slots: |
|
40 void activated( const QString &pathName ); |
|
41 void stopFind(); |
|
42 |
|
43 private slots: |
|
44 void findFinished(); |
|
45 void on_findAction_triggered(); |
|
46 void on_sortNameAction_triggered(); |
|
47 void on_sortTimeAction_triggered(); |
|
48 void on_sortSizeAction_triggered(); |
|
49 void on_sortTypeAction_triggered(); |
|
50 |
|
51 void startSearch( const QString &targetPath, const QString &criteria ); |
|
52 |
|
53 void on_findWidget_setEmptyMenu( bool isMenuEmpty ); |
|
54 |
|
55 private: |
|
56 void initMenu(); |
|
57 void initMainWidget(); |
|
58 void initToolBar(); |
|
59 |
|
60 FmFindWidget *mFindWidget; |
|
61 HbProgressDialog *mWaitNote; |
|
62 HbMenu *mMenu; |
|
63 }; |
|
64 |
|
65 #endif |
|