qtinternetradio/ui/inc/irsearchchannelsview.h
changeset 8 3b03c28289e6
parent 3 ee64f059b8e1
child 11 f683e24efca3
equal deleted inserted replaced
5:0930554dc389 8:3b03c28289e6
    48     void connectWidget();     
    48     void connectWidget();     
    49     //for connecting and disconnecting isds client's signals
    49     //for connecting and disconnecting isds client's signals
    50     void connectIsdsClient();
    50     void connectIsdsClient();
    51     void disconnectIsdsClient();
    51     void disconnectIsdsClient();
    52     
    52     
    53     void switch2SearchingState();
    53     void switch2LoadingState();
    54     void switch2InitState();    
    54     void switch2InitState();  
    55     void switch2SearchedState(); 
    55     void loadLayout();
    56     void startSearchingAnimation();
    56     void handleItemSelected();    
    57     void stopSearchingAnimation();    
       
    58     void loadLayout();   
       
    59     void handleItemSelected();
       
    60     void createSearchingDialog();
       
    61     void closeSearchingDialog();
       
    62     void normalInit();
    57     void normalInit();
    63     void initMenu();
    58     void initMenu();
    64     void lazyInit();
    59     void lazyInit();
    65     void startConvert(int aIndex);   
    60     void startConvert(int aIndex);   
    66     void initTimer();
    61     void initTimer();
    77     void presetResponse(IRQPreset *aPreset);  
    72     void presetResponse(IRQPreset *aPreset);  
    78     //to start the convertion 
    73     //to start the convertion 
    79     void convertAnother();
    74     void convertAnother();
    80     void presetLogoDownload(IRQPreset* aPreset);
    75     void presetLogoDownload(IRQPreset* aPreset);
    81     void presetLogoDownloadError();
    76     void presetLogoDownloadError();
    82 
    77     //this slot is used to back to previouse view or minimize the search widget
    83     
    78     void minimizeSearchPanel();   
    84     
    79     
    85 private: // members       
    80 private: // members       
    86     
    81     
    87     enum IRQSearchState
    82     enum IRQSearchState
    88     {
    83     {
    89         ESearch_init = 0,
    84         ESearch_init = 0,
    90         ESearch_Searching,
    85         ESearch_Loading //loading means searching or buffering.
    91         ESearch_Searched
       
    92     };    
    86     };    
    93     
    87     
    94     HbListView          *iListView;
    88     HbListView          *iListView;
    95     QString              iKeyText;
    89     QString              iKeyText;
    96     
    90     
    97     //default searchpanel is not progressive
    91     //default searchpanel is not progressive
    98     HbSearchPanel       *iSearchPanelWidget;
    92     HbSearchPanel       *iSearchPanelWidget;
    99     IRQSearchState       iSearchState;
    93     IRQSearchState       iSearchState;
   100     IrChannelModel      *iChannelModel;
    94     IrChannelModel      *iChannelModel;
   101     HbProgressDialog    *iSearchingDialog;    
       
   102     //the object is created by IsdsClient, but application is responsible for free
    95     //the object is created by IsdsClient, but application is responsible for free
   103     IRQPreset           *iPreset;
    96     IRQPreset           *iPreset;
   104     IRQPreset           *iLogoPreset;     
    97     IRQPreset           *iLogoPreset;     
   105     QTimer              *iConvertTimer;
    98     QTimer              *iConvertTimer;
   106     QList<int>           iIconIndexArray;
    99     QList<int>           iIconIndexArray;