controlpanel/tsrc/unit/ut_cpdataformlistentryviewitem/src/ut_cpdataformlistentryviewitem.h
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 * test application for qt control panel public apis. |
|
16 */ |
|
17 |
|
18 #ifndef TEST_CP_DATAFORM_LISTENTRY_VIEWITEM_H |
|
19 #define TEST_CP_DATAFORM_LISTENTRY_VIEWITEM_H |
|
20 |
|
21 #include <QObject> |
|
22 |
|
23 class HbMainWindow; |
|
24 |
|
25 class TestCpDataFormListEntryViewItem : public QObject |
|
26 { |
|
27 Q_OBJECT |
|
28 |
|
29 private slots: |
|
30 void initTestCase(); |
|
31 void cleanupTestCase(); |
|
32 |
|
33 //public slots: |
|
34 void testCpDataFormListEntryViewItemWithDataForm(); |
|
35 void testCpDataFormListEntryViewItemWithNullPointer(); |
|
36 void testCreateItemNoDataForm(); |
|
37 void testCreateItemWithDataForm(); |
|
38 void testCanSetModelIndexWithDataForm(); |
|
39 void testCreateCustomedWidgetNoParam(); |
|
40 |
|
41 private: |
|
42 HbMainWindow* mainWindow; |
|
43 }; |
|
44 |
|
45 #endif // TEST_CP_DATAFORM_LISTENTRY_VIEWITEM_H |