homescreenapp/examples/helloworldwidgetplugin/inc/helloworldwidget.h
author Pat Downey <patd@symbian.org>
Thu, 24 Jun 2010 13:11:40 +0100
changeset 57 2e2dc3d30ca8
parent 46 23b5d6a29cce
child 61 2b1b11a301d2
permissions -rw-r--r--
Merge heads.

/*
* 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