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: Contains page metadata. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef HSPAGEDATA_H |
|
19 #define HSPAGEDATA_H |
|
20 |
|
21 #include <QList> |
|
22 #include <QString> |
|
23 #include "hsdomainmodel_global.h" |
|
24 #include "hswidgetdata.h" |
|
25 |
|
26 class HSDOMAINMODEL_EXPORT HsPageData |
|
27 { |
|
28 public: |
|
29 HsPageData(); |
|
30 ~HsPageData(); |
|
31 |
|
32 void setId(int pageId); |
|
33 int id() const; |
|
34 |
|
35 void setIndex(int index); |
|
36 int index() const; |
|
37 |
|
38 QList<HsWidgetData> widgets() const; |
|
39 QList<HsWidgetData> &widgets(); |
|
40 |
|
41 private: |
|
42 int mId; |
|
43 int mIndex; |
|
44 QList<HsWidgetData> mWidgets; |
|
45 }; |
|
46 |
|
47 #endif |
|