diff -r 8aed59de29f9 -r 4eb2df7f7cbe videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybacktoolbar/stub/inc/hbtoolbar.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybacktoolbar/stub/inc/hbtoolbar.h Fri Apr 30 09:52:11 2010 +0300 @@ -0,0 +1,54 @@ +/* +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Implementation of HbToolBar +* +*/ + +// Version : %version: 1 % + + + +#ifndef HBTOOLBAR_H_ +#define HBTOOLBAR_H_ + +#include + +class HbAction; +class QGraphicsLayout; +class QGraphicsLinearLayout; + +class HbToolBar : public HbWidget +{ + Q_OBJECT + + public: + HbToolBar(); + virtual ~HbToolBar(); + + public: + void setVisible( bool visible ); + void setEnabled( bool enabled ); + void setOrientation( int orientation ); + void clearActions(); + void addAction( HbAction *action ); + QGraphicsLayout* layout(); + + public: + bool mVisible; + bool mEnabled; + QGraphicsLinearLayout *mLayout; +}; + +#endif /*HBTOOLBAR_H_*/ +