phonebookui/phonebookservices/inc/cntservicecontactselectionview.h
branchRCL_3
changeset 62 5b6f26637ad3
equal deleted inserted replaced
58:d4f567ce2e7c 62:5b6f26637ad3
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CNTSERVICECONTACTSELECTIONVIEW_H
       
    19 #define CNTSERVICECONTACTSELECTIONVIEW_H
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 #include "cntbaseselectionview.h"
       
    24 #include "cntabstractserviceprovider.h"
       
    25 
       
    26 class QModelIndex;
       
    27 class CntServiceHandler;
       
    28 
       
    29 class CntServiceContactSelectionView : public CntBaseSelectionView
       
    30 {
       
    31     Q_OBJECT
       
    32 
       
    33 public:
       
    34     CntServiceContactSelectionView( CntAbstractServiceProvider& aServiceProvider );
       
    35     ~CntServiceContactSelectionView();
       
    36 
       
    37     int viewId() const { return serviceContactSelectionView; }
       
    38     
       
    39 public slots:
       
    40     void onListViewActivated(const QModelIndex &aIndex);
       
    41     void aboutToOpenView(CntAbstractViewManager* aMgr, const CntViewParameters viewParameters);
       
    42     void aboutToCloseView();
       
    43         
       
    44 private:
       
    45     CntAbstractServiceProvider& mProvider;
       
    46     QContactDetail     mDetail;
       
    47 };
       
    48 
       
    49 #endif /* CNTSERVICECONTACTSELECTIONVIEW_H */