phonebookui/phonebookservices/inc/cntservicecontactfetchview.h
changeset 24 0ba2181d7c28
child 25 76a2435edfd4
equal deleted inserted replaced
0:e686773b3f54 24:0ba2181d7c28
       
     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 CNTSERVICECONTACTFETCHVIEW_H
       
    19 #define CNTSERVICECONTACTFETCHVIEW_H
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 #include "cntbaseselectionview.h"
       
    24 #include "cntviewparameters.h"
       
    25 
       
    26 class CntServiceHandler;
       
    27 
       
    28 class CntServiceContactFetchView : public CntBaseSelectionView
       
    29 {
       
    30     Q_OBJECT
       
    31 
       
    32 public:
       
    33     CntServiceContactFetchView(CntServiceHandler *aServiceHandler, CntViewManager *aViewManager, QGraphicsItem *aParent = 0);
       
    34     ~CntServiceContactFetchView();
       
    35 
       
    36 public slots:
       
    37     void aboutToCloseView();
       
    38     void cancelFetch();
       
    39 
       
    40 public:
       
    41     void setActionFilter(QString action, QString filter);
       
    42     void addMenuItems();
       
    43     CntViewParameters::ViewId viewId() const { return CntViewParameters::serviceContactFetchView; }
       
    44 
       
    45 private:
       
    46     CntServiceHandler *mServiceHandler;
       
    47 };
       
    48 
       
    49 #endif /* CNTSERVICECONTACTFETCHVIEW_H */