mmsharing/livecommsui/lcuiengine/tsrc/ut_lcuieng/hbstubs/hbview.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     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: Orbit stubs for Live Comms UI unit tests
       
    15 *
       
    16 */
       
    17 #ifndef HBVIEW_H
       
    18 #define HBVIEW_H
       
    19 
       
    20 #include <hbwidget.h>
       
    21 #include <hbglobal.h>
       
    22 #include <hbnamespace.h>
       
    23 
       
    24 class HbMenu;
       
    25 class HbToolBar;
       
    26 class HbAction;
       
    27 
       
    28 class HbView : public HbWidget
       
    29 {
       
    30 public:
       
    31     explicit HbView(QGraphicsItem *parent = 0);
       
    32     virtual ~HbView();
       
    33 
       
    34     HbMenu *menu() const;
       
    35     HbToolBar *toolBar() const;
       
    36     
       
    37     void setContentFullScreen(bool enable = true);
       
    38     HbAction *navigationAction() const;
       
    39     void setNavigationAction(HbAction *action);
       
    40 
       
    41 public slots:
       
    42     void setTitle(const QString &title);
       
    43     
       
    44 private: // Data added for the unit testing stub
       
    45 	HbMenu* mMenu;
       
    46 	HbToolBar* mToolBar;
       
    47     bool mTitlePaneItem;
       
    48     bool mIndicatorItems;
       
    49     bool mSecondarySoftKeyItem;
       
    50 };
       
    51 
       
    52 #endif // HBVIEW_H