homescreenapp/hsdomainmodel/inc/hspagevisual.h
changeset 77 4b195f3bea29
child 86 e4f038c420f7
equal deleted inserted replaced
61:2b1b11a301d2 77:4b195f3bea29
       
     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 HSPAGEVISUAL_H
       
    19 #define HSPAGEVISUAL_H
       
    20 
       
    21 
       
    22 #include <HbWidget>
       
    23 #include "hsdomainmodel_global.h"
       
    24 #include "hstest_global.h"
       
    25 
       
    26 
       
    27 class HsPageTouchArea;
       
    28 
       
    29 HOMESCREEN_TEST_CLASS(TestHsDomainModel)
       
    30 
       
    31 class HSDOMAINMODEL_EXPORT HsPageVisual : public HbWidget
       
    32 {
       
    33     Q_OBJECT
       
    34    
       
    35 
       
    36 public:
       
    37     HsPageVisual(QGraphicsItem *parent = 0);
       
    38     ~HsPageVisual();
       
    39    
       
    40     void setGeometry(const QRectF &rect);
       
    41 
       
    42 private:
       
    43     Q_DISABLE_COPY(HsPageVisual)
       
    44     void setupTouchArea();
       
    45 
       
    46 private:
       
    47     HsPageTouchArea *mTouchArea;
       
    48     HOMESCREEN_TEST_FRIEND_CLASS(TestHsDomainModel)
       
    49 };
       
    50 
       
    51 #endif