diff -r bf4420e9fa4d -r 2e16851ffecd browsercore/appfw/Api/Controls/pagezoomcontrol_p.h --- a/browsercore/appfw/Api/Controls/pagezoomcontrol_p.h Fri Jun 11 16:23:26 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +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 __PAGEZOOMCONTROL_P_H__ -#define __PAGEZOOMCONTROL_P_H__ - -#include - -namespace WRT { - - class WrtPageManager; - - class PageZoomControlPrivate : public QObject - { - Q_OBJECT - - public: - enum ZoomDirection{zoomOut = -1, zoomReset = 0, zoomIn = 1}; - - PageZoomControlPrivate(WrtPageManager *mgr); - ~PageZoomControlPrivate(); - - public slots: - void smoothZoomIn(); - void smoothZoomOut(); - - public: - void createZoomTimer(ZoomDirection direction); - void deleteTimer(); - - private: - void setZoom(ZoomDirection direction); - - public: - WrtPageManager *m_mgr; - qreal m_value; - QTimer *m_smoothZoomTimer; - }; -} -#endif //__PAGEZOOMCONTROL_P_H__