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 * |
|
15 * Description: |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 #include <hbdialog.h> |
|
21 #include <hblistwidget.h> |
|
22 |
|
23 #include <hbapplication.h> |
|
24 #include <hbmainwindow.h> |
|
25 #include <hbview.h> |
|
26 #include <hblabel.h> |
|
27 #include <hbaction.h> |
|
28 #include <hblistwidgetitem.h> |
|
29 |
|
30 #include <QGraphicsLinearLayout> |
|
31 |
|
32 |
|
33 class TestMainWindow : public HbMainWindow |
|
34 { |
|
35 Q_OBJECT |
|
36 public: |
|
37 TestMainWindow(); |
|
38 ~TestMainWindow(); |
|
39 |
|
40 void init(); |
|
41 private slots: |
|
42 void activatedListItem(HbListWidgetItem *item); |
|
43 |
|
44 private: |
|
45 void getExistingDirectory(); |
|
46 void getOpenFileName(); |
|
47 void getSaveFileName(); |
|
48 |
|
49 void getExistingDirectory_SetDir(); |
|
50 void getOpenFileName_SetDir(); |
|
51 void getSaveFileName_SetDir(); |
|
52 |
|
53 void getExistingDirectory_SetFilter(); |
|
54 void getExistingDirectory_SetFilter_AllDirs(); |
|
55 void getOpenFileName_SetFilter(); |
|
56 void getSaveFileName_SetFilter(); |
|
57 }; |