phonebookui/cntcommonui/views/cntnamesview.h
changeset 72 6abfb1094884
parent 61 d30183af6ca6
child 81 640d30f4fb64
equal deleted inserted replaced
67:59984e68247d 72:6abfb1094884
       
     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 CNTNAMESVIEW_H
       
    19 #define CNTNAMESVIEW_H
       
    20 
       
    21 #include <cntabstractview.h>
       
    22 #include <QObject>
       
    23 
       
    24 class HbView;
       
    25 class CntNamesViewPrivate;
       
    26 
       
    27 class CntNamesView : public QObject, public CntAbstractView
       
    28 {
       
    29     Q_OBJECT
       
    30     
       
    31 public:
       
    32     CntNamesView();
       
    33     ~CntNamesView();
       
    34    
       
    35 public: // From CntAbstractView
       
    36     void activate( const CntViewParameters aArgs );
       
    37     void deactivate();
       
    38     HbView* view() const;
       
    39     
       
    40     bool isDefault() const;
       
    41     int viewId() const;
       
    42   
       
    43     void setEngine( CntAbstractEngine& aEngine );
       
    44     
       
    45 private:
       
    46     CntNamesViewPrivate* const d_ptr;
       
    47     Q_DECLARE_PRIVATE_D(d_ptr, CntNamesView)
       
    48     Q_DISABLE_COPY(CntNamesView)    
       
    49 };
       
    50 
       
    51 #endif // CNTNAMESVIEW_H
       
    52 
       
    53 // EOF