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 |
|
18 #ifndef IRSTATIONDETAILSVIEW_H_ |
|
19 #define IRSTATIONDETAILSVIEW_H_ |
|
20 |
|
21 #include <hbscrollarea.h> |
|
22 #include "irbaseview.h" |
|
23 #include "irdocumentloader.h" |
|
24 |
|
25 class HbLabel; |
|
26 class HbListWidget; |
|
27 class IRQPreset; |
|
28 class IRQSongHistoryInfo; |
|
29 |
|
30 class IRStationDetailsView : public IRBaseView |
|
31 { |
|
32 Q_OBJECT |
|
33 |
|
34 public: |
|
35 ~IRStationDetailsView(); |
|
36 void setDetails(); |
|
37 void setDetails(IRQSongHistoryInfo *aCurChannelInfo); |
|
38 |
|
39 protected: |
|
40 IRStationDetailsView(IRApplication* aApplication, TIRViewId aViewId); |
|
41 |
|
42 private slots: |
|
43 |
|
44 void handleOrientationChanged( Qt::Orientation aOrientation ); |
|
45 |
|
46 private: |
|
47 void createDetails(); |
|
48 // Methods to set station information |
|
49 |
|
50 private: |
|
51 HbScrollArea *iScrollArea; |
|
52 HbWidget* iContainer; |
|
53 // Station information |
|
54 HbLabel *iStationName; |
|
55 HbLabel *iDescription; |
|
56 HbLabel *iGenres; |
|
57 HbLabel *iLanguage; |
|
58 HbLabel *iCountry; |
|
59 HbLabel *iBitRate; |
|
60 HbLabel *iNowPlayingUrl; |
|
61 friend class IRViewManager; |
|
62 }; |
|
63 |
|
64 #endif /* IRSTATIONDETAILSVIEW_H_ */ |