locationpickerservice/inc/locationpickerappwindow.h
changeset 15 13ae750350c9
child 17 0f22fb80ebba
equal deleted inserted replaced
0:522cd55cc3d7 15:13ae750350c9
       
     1 /*
       
     2 * Copyright (c) 2010 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: LocationPickerAppWindow declaration
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef LOCATIONPICKERAPPWINDOW_H
       
    19 #define LOCATIONPICKERAPPWINDOW_H
       
    20 #include <HbMainWindow>
       
    21 #include <HbAction>
       
    22 
       
    23 #include "qlocationpickeritem.h"
       
    24 
       
    25 // Forward declarations
       
    26 class LocationPickerAllView;
       
    27 class LocationPickerSearchView;
       
    28 class LocationPickerCollectionListView;
       
    29 class LocationPickerService;
       
    30 
       
    31 class LocationPickerAppWindow: public HbMainWindow
       
    32 {
       
    33     Q_OBJECT
       
    34 public:
       
    35 
       
    36     // constructor
       
    37     LocationPickerAppWindow( QWidget* aParent = 0 );
       
    38     
       
    39     // destructor
       
    40     ~LocationPickerAppWindow();
       
    41 	
       
    42 	// deletes the collection content view
       
    43     void deleteCollectionContentView();
       
    44 
       
    45 public slots:
       
    46     // a list item is selected
       
    47     void itemSelected( quint32 aLm);
       
    48 
       
    49 public slots:
       
    50 	// slot used for back action on the top right corner
       
    51     void backButtonTriggered();
       
    52 
       
    53 private:
       
    54     // all view
       
    55     LocationPickerAllView* mLocationPickerAllView;
       
    56     // search view
       
    57     LocationPickerSearchView* mLocationPickerSearchView;
       
    58     // collection list view
       
    59     LocationPickerCollectionListView* mLocationPickerCollectionListView;
       
    60 
       
    61     // location picker service;
       
    62     LocationPickerService *mService;
       
    63 
       
    64 };
       
    65 #endif // LOCATIONPICKERAPPWINDOW_H