phonebookui/pbkcommonui/inc/cntmycardview.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 CNTMYCARDVIEW_H_
       
    19 #define CNTMYCARDVIEW_H_
       
    20 
       
    21 #include <QObject>
       
    22 #include "cntbaseview.h"
       
    23 #include "cntviewparameters.h"
       
    24 
       
    25 QTM_BEGIN_NAMESPACE
       
    26 class QContact;
       
    27 QTM_END_NAMESPACE
       
    28 
       
    29 QTM_USE_NAMESPACE
       
    30 
       
    31 class CntMyCardView : public CntBaseView
       
    32 {
       
    33 
       
    34 Q_OBJECT
       
    35 
       
    36 public slots:
       
    37 
       
    38     void aboutToCloseView();
       
    39     void openNameEditor();
       
    40     void openMyCardSelectionView();
       
    41 
       
    42 public: // from CntBaseView
       
    43     virtual void setOrientation(Qt::Orientation orientation);
       
    44     
       
    45 public:
       
    46 
       
    47     CntMyCardView(CntViewManager *viewManager, QGraphicsItem *parent = 0);
       
    48     ~CntMyCardView();
       
    49 
       
    50     CntViewParameters::ViewId viewId() const { return CntViewParameters::myCardView; }
       
    51     void activateView(const CntViewParameters &aViewParameters);
       
    52 
       
    53 private:
       
    54     
       
    55     QContact* mContact;
       
    56 
       
    57 };
       
    58 
       
    59 #endif /* CNTMYCARDVIEW_H_ */