hswidgetmodel/examples/helloworldwidgetprovider/helloworldwidget/inc/helloworldwidget.h
changeset 86 e492551a0d54
parent 85 7feec50967db
child 87 9d806967057c
--- a/hswidgetmodel/examples/helloworldwidgetprovider/helloworldwidget/inc/helloworldwidget.h	Tue Mar 23 23:17:02 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +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: Example of home screen widget
-*
-*/
-
-#ifndef HELLOWORLDWIDGET_H
-#define HELLOWORLDWIDGET_H
-
-#include <hswidget.h>
-
-class QPushButton;
-
-class HelloWorldWidget : public HsWidget
-{
-    Q_OBJECT
-
-public:
-    HelloWorldWidget(QGraphicsItem *parent = 0, Qt::WindowFlags flags = 0);
-    ~HelloWorldWidget();
-
-public:
-    QRectF boundingRect() const;
-    QPainterPath shape() const;
-
-protected:
-    StartResult onStart();
-    StopResult onStop();
-    SuspendResult onSuspend();
-    ResumeResult onResume();
-
-private:
-    Q_DISABLE_COPY(HelloWorldWidget)
-    QPushButton *mButton;
-};
-
-
-#endif // HELLOWORLDWIDGET_H