diff -r b0dd75e285d2 -r 0f2326c2a325 ginebra2/iconwidget.h --- a/ginebra2/iconwidget.h Fri May 14 15:40:36 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,53 +0,0 @@ -/* -* 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: -* -*/ - - -#ifndef ICONWIDGET_H -#define ICONWIDGET_H - -#include "NativeChromeItem.h" -#include -#include -#include - -namespace GVA { - - class IconWidget : public NativeChromeItem - { - Q_OBJECT - - public: - IconWidget(ChromeSnippet * snippet, QGraphicsItem* parent = 0); - virtual ~IconWidget() {}; - void paint(QPainter* painter, const QStyleOptionGraphicsItem* opt, QWidget* widget); - - public slots: - void onLoadStarted(); - void onIconChanged(); - void onUrlChanged(const QUrl& url); - void setIconForUrl(const QUrl& url); - void setDefaultImage(const QImage& image); - void connectToWebpageController(); - - private: - bool m_drawingDefault; - QImage m_defaultImage; - QIcon m_icon; - }; -} // end of namespace GVA - -#endif // ICONWIDGET_H