homescreenapp/examples/helloworldwidgetplugin/inc/helloworldwidget.h
changeset 46 23b5d6a29cce
child 61 2b1b11a301d2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/homescreenapp/examples/helloworldwidgetplugin/inc/helloworldwidget.h	Fri May 14 15:43:04 2010 +0300
@@ -0,0 +1,39 @@
+/*
+* 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:  Example of home screen widget
+*
+*/
+
+#ifndef HELLOWORLDWIDGET_H
+#define HELLOWORLDWIDGET_H
+
+#include <HbWidget>
+
+class HelloWorldWidget : public HbWidget
+{
+    Q_OBJECT
+
+public:
+    HelloWorldWidget(QGraphicsItem *parent = 0, Qt::WindowFlags flags = 0);
+    ~HelloWorldWidget();
+
+public slots:
+    void onShow();
+    void onHide();
+
+private:
+    Q_DISABLE_COPY(HelloWorldWidget)
+};
+
+#endif // HELLOWORLDWIDGET_H