equal
deleted
inserted
replaced
22 #include "irqevent.h" |
22 #include "irqevent.h" |
23 |
23 |
24 class IRQPreset; |
24 class IRQPreset; |
25 class IrChannelModel; |
25 class IrChannelModel; |
26 class QTimer; |
26 class QTimer; |
27 class HbProgressDialog; |
|
28 |
27 |
29 class IRStationsView : public IrAbstractListViewBase |
28 class IRStationsView : public IrAbstractListViewBase |
30 { |
29 { |
31 Q_OBJECT |
30 Q_OBJECT |
32 |
31 |
33 public: |
32 public: |
34 ~IRStationsView(); |
33 ~IRStationsView(); |
35 |
34 |
36 void loadCategoryStations(int aIndex, const QString &aHeadingText); |
35 void loadCategoryStations(int aIndex, const QString &aHeadingText); |
37 |
36 |
38 void loadPopularStations(bool aShowWaitDialog); |
|
39 |
|
40 void loadSearchResult(const QString &aStr); |
|
41 |
|
42 protected: |
37 protected: |
43 IRStationsView(IRApplication* aApplication, TIRViewId aViewId); |
38 IRStationsView(IRApplication* aApplication, TIRViewId aViewId); |
44 |
39 |
45 //from base class IRBaseView |
40 //from base class IRBaseView |
46 TIRHandleResult handleCommand(TIRViewCommand aCommand, TIRViewCommandReason aReason); |
41 TIRHandleResult handleCommand(TIRViewCommand aCommand, TIRViewCommandReason aReason); |
47 |
|
48 //from base class IRBaseView |
|
49 void launchAction(); |
|
50 |
42 |
51 private slots: |
43 private slots: |
52 void presetResponse(IRQPreset *aPreset); |
44 void presetResponse(IRQPreset *aPreset); |
53 |
45 |
54 void presetLogoDownload(IRQPreset* aPreset); |
46 void presetLogoDownload(IRQPreset* aPreset); |
80 |
72 |
81 void connectToIsdsClient(); |
73 void connectToIsdsClient(); |
82 |
74 |
83 void disconnectIsdsClient(); |
75 void disconnectIsdsClient(); |
84 |
76 |
85 void createWaitDialog(const QString &aStr); |
|
86 |
|
87 private: |
77 private: |
88 IRQPreset *iLogoPreset; |
78 IRQPreset *iLogoPreset; |
89 IRQPreset *iPreset; //the object is created by IsdsClient, but application is responsible for free |
79 IRQPreset *iPreset; //the object is created by IsdsClient, but application is responsible for free |
90 HbProgressDialog *iWaitDialog; |
|
91 int iLastSelectitem; |
80 int iLastSelectitem; |
92 int iLastPopularItem; |
|
93 |
81 |
94 //the following are used to support the img |
82 //the following are used to support the img |
95 QList<int> iIconIndexArray; |
83 QList<int> iIconIndexArray; |
96 IrChannelModel *iChannelModel; |
84 IrChannelModel *iChannelModel; |
97 QTimer *iConnectTimer; |
85 QTimer *iConnectTimer; |