diff -r bf4420e9fa4d -r 2e16851ffecd ginebra2/ProgressSnippet.h --- a/ginebra2/ProgressSnippet.h Fri Jun 11 16:23:26 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,46 +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 __GINEBRA_PROGRESSSNIPPET_H__ -#define __GINEBRA_PROGRESSSNIPPET_H__ - -#include -#include "NativeChromeItem.h" - -namespace GVA { - - class GWebContentView; - - class ProgressSnippet : public NativeChromeItem - { - Q_OBJECT - public: - ProgressSnippet(ChromeSnippet * snippet, QGraphicsItem* parent = 0); - virtual ~ProgressSnippet(); - void paint(QPainter* painter, const QStyleOptionGraphicsItem* opt, QWidget* widget); - public slots: - void onProgress(int progress); - void onStart(); - void onFinished(bool ok); - private: - qreal m_progress; - QColor m_color; - GWebContentView * m_webView; - }; - -} // end of namespace GVA - -#endif // __GINEBRA_PROGRESSSNIPPET_H__