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 * |
|
16 */ |
|
17 #ifndef LUNCWIDGET_H_ |
|
18 #define LUNCWIDGET_H_ |
|
19 |
|
20 #include <hbwidget.h> |
|
21 #include <QGraphicsLinearLayout> |
|
22 #include <QGraphicsGridLayout> |
|
23 #include <HbPushButton> |
|
24 #include <hblabel.h> |
|
25 |
|
26 class lunchwidget: public HbWidget |
|
27 { |
|
28 Q_OBJECT |
|
29 public: |
|
30 lunchwidget(QGraphicsItem *parent = 0); |
|
31 ~lunchwidget(); |
|
32 |
|
33 private: |
|
34 |
|
35 QGraphicsGridLayout *mGridLayout; |
|
36 HbPushButton *mLunchButton; |
|
37 HbLabel* mResultLabel; |
|
38 HbLabel* mResultLabel2; |
|
39 HbLabel* mCountLabel; |
|
40 QObject *mActivityManager; |
|
41 |
|
42 private slots: |
|
43 void lunch(); |
|
44 }; |
|
45 |
|
46 #endif /* LUNCWIDGET_H_*/ |