locationpickerservice/inc/locationpickerappwindow.h
changeset 20 cd10d5b85554
parent 17 0f22fb80ebba
child 31 8db05346071b
equal deleted inserted replaced
17:0f22fb80ebba 20:cd10d5b85554
    26 class LocationPickerDocumentLoader;
    26 class LocationPickerDocumentLoader;
    27 class LocationPickerPotraitView;
    27 class LocationPickerPotraitView;
    28 class LocationPickerService;
    28 class LocationPickerService;
    29 class LocationPickerProxyModel;
    29 class LocationPickerProxyModel;
    30 class LocationPickerLandscapeView;
    30 class LocationPickerLandscapeView;
       
    31 class LocationPickerContent;
    31 
    32 
    32 class LocationPickerAppWindow: public HbMainWindow
    33 class LocationPickerAppWindow: public HbMainWindow
    33 {
    34 {
    34     Q_OBJECT
    35     Q_OBJECT
    35 public:
    36 public:
    56     //activate search view
    57     //activate search view
    57     void activateSearchView();
    58     void activateSearchView();
    58     //activate locationpicker view
    59     //activate locationpicker view
    59     void activateLocationPickerView();
    60     void activateLocationPickerView();
    60     //changes the orientation
    61     //changes the orientation
    61     void changeOrientation(Qt::Orientation);
    62     void changeOrientation( Qt::Orientation );
    62     //complete the service
    63     //complete the service
    63     void serviceComplete();
    64     void serviceComplete();
    64     //sets the category ID during orientation change in collection content
    65     //sets the category ID during orientation change in collection content
    65     void setCategoryID( quint32 acategoryId );
    66     void setCategoryId( quint32 acategoryId );
    66     //handles orientation change in collection list
    67     //handles orientation change in collection list
    67     void handleCollectionList();
    68     void handleCollectionList();
    68     //handle all List
    69     //handle all List
    69     void allListHandle();
    70     void allListHandle();
       
    71     //clear content models
       
    72     void clearContentModels();
    70 private:
    73 private:
    71     // search view
    74     // search view
    72     LocationPickerSearchView* mLocationPickerSearchView;
    75     LocationPickerSearchView* mLocationPickerSearchView;
    73     //document loader
    76     //document loader
    74     LocationPickerDocumentLoader* mLocationPickerDocumentLoader;
    77     LocationPickerDocumentLoader* mLocationPickerDocumentLoader;
    75     //location picker potrait view
    78     //location picker potrait view
    76     LocationPickerPotraitView* mLocationPickerPotraitView;
    79     LocationPickerPotraitView* mLocationPickerPotraitView;
    77     //location picker landscape view
    80     //location picker landscape view
    78     LocationPickerLandscapeView* mLocationPickerLandscapeView;
    81     LocationPickerLandscapeView* mLocationPickerLandscapeView;
       
    82 	//locationpicker content
       
    83     LocationPickerContent* mLocationPickerContent;
    79     //location picker service;
    84     //location picker service;
    80     LocationPickerService *mService;
    85     LocationPickerService *mService;
    81     //View Type
    86     //View Type
    82     TViewType mviewType;
    87     TViewType mviewType;
    83 };
    88 };