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 MPFETCHERTESTAPPVIEW_H_ |
|
18 #define MPFETCHERTESTAPPVIEW_H_ |
|
19 |
|
20 #include <hbview.h> |
|
21 #include <xqappmgr.h> |
|
22 |
|
23 class XQApplicationManager; |
|
24 class XQAiwRequest; |
|
25 class HbLineEdit; |
|
26 |
|
27 class MpFetcherTestAppView : public HbView |
|
28 { |
|
29 Q_OBJECT |
|
30 |
|
31 public: |
|
32 MpFetcherTestAppView(QGraphicsItem *parent=0); |
|
33 virtual ~MpFetcherTestAppView(); |
|
34 |
|
35 private slots: |
|
36 void handleOk(const QVariant &result); |
|
37 void handleError(int errorCode, const QString& errorMessage); |
|
38 |
|
39 void fetchSong(); |
|
40 |
|
41 private: |
|
42 void createLayout(); |
|
43 |
|
44 private: |
|
45 XQApplicationManager mAppMgr; |
|
46 XQAiwRequest* mReq; |
|
47 HbLineEdit* mResultEdit; |
|
48 HbLineEdit* mErrorCodeEdit; |
|
49 HbLineEdit* mErrorEdit; |
|
50 }; |
|
51 |
|
52 #endif /* MPFETCHERTESTAPPVIEW_H_ */ |