qtinternetradio/ui/inc/ircategoryview.h
changeset 3 ee64f059b8e1
parent 0 09774dfdd46b
child 5 0930554dc389
equal deleted inserted replaced
2:2e1adbfc62af 3:ee64f059b8e1
    20 #include "irabstractlistviewbase.h"
    20 #include "irabstractlistviewbase.h"
    21 #include "irqevent.h"
    21 #include "irqevent.h"
    22 #include "irqisdsclient.h"
    22 #include "irqisdsclient.h"
    23 
    23 
    24 class IRCategoryModel;
    24 class IRCategoryModel;
       
    25 class HbProgressDialog;
    25 
    26 
    26 class IRCategoryView : public IrAbstractListViewBase
    27 class IRCategoryView : public IrAbstractListViewBase
    27 {
    28 {
    28 	Q_OBJECT
    29 	Q_OBJECT
    29 public:
    30 public:
    30 	~IRCategoryView();
    31 	~IRCategoryView();
    31 
       
    32     void setViewParameter(TIRViewParameter aParameter);
       
    33     TIRViewParameter getViewParameter() const;
       
    34 	 
    32 	 
    35     void loadCategory(IRQIsdsClient::IRQIsdsClientInterfaceIDs aCategory);
    33     void loadCategory(IRQIsdsClient::IRQIsdsClientInterfaceIDs aCategory);
    36     
    34     
    37 protected:
    35 protected:
    38     IRCategoryView(IRApplication* aApplication, TIRViewId aViewId);
    36     IRCategoryView(IRApplication* aApplication, TIRViewId aViewId);
    67     
    65     
    68     void connectToIsdsClient();
    66     void connectToIsdsClient();
    69     
    67     
    70     void disconnectIsdsClient();
    68     void disconnectIsdsClient();
    71     
    69     
       
    70     void lazyInit();
       
    71     
       
    72     void normalInit();
       
    73     
    72 private:
    74 private:
    73 	HbMessageBox *iWaitDialog;
    75 	HbProgressDialog *iWaitDialog;
    74     TIRViewParameter iViewParameter;
       
    75     int iLastSelectItem;
    76     int iLastSelectItem;
    76     IRCategoryModel *iModel;
    77     IRCategoryModel *iModel;
       
    78     QString iLoadedSection;
    77     
    79     
    78     friend class IRViewManager;
    80     friend class IRViewManager;
    79 };
    81 };
    80 
    82 
    81 #endif // IRCATEGORYVIEW_H
    83 #endif // IRCATEGORYVIEW_H