diff -r cfea66083b62 -r baacf668fe89 phoneapp/phoneuiview2/tsrc/ut_phoneuiqtview/hbtoolbar.h --- a/phoneapp/phoneuiview2/tsrc/ut_phoneuiqtview/hbtoolbar.h Mon Oct 04 16:06:10 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ -/* -* Copyright (c) 2009 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: -* -*/ -#ifndef HBTOOLBAR_H -#define HBTOOLBAR_H - -#include -#include - -class HbAction; - -extern bool m_clearCalled; -extern bool m_hideCalled; -extern bool m_showCalled; -extern bool m_clearActionsCalled; -extern bool m_setOrientationCalled; -extern bool m_toolBarUpdateCalled; -extern HbAction *m_action; -extern QList m_actions; - - -class HbToolBar : public QObject -{ - Q_OBJECT - -public: - - HbToolBar (QObject *parent = 0); - virtual ~HbToolBar () {}; - void reset (); - void clear (); - void hide (); - void show (); - void addAction (HbAction *action); - void clearActions (); - void setOrientation(Qt::Orientation orientation); - void removeAction(HbAction *action); - QList actions() const; - void update(); - -private: - -}; - -#endif // HBTOOLBAR_H