--- a/homescreenapp/examples/helloworldwidgetplugin/inc/helloworldwidget.h Thu Jun 24 13:11:40 2010 +0100
+++ b/homescreenapp/examples/helloworldwidgetplugin/inc/helloworldwidget.h Fri Jun 25 19:19:22 2010 +0300
@@ -20,7 +20,9 @@
#include <HbWidget>
+// Start of snippet 1
class HelloWorldWidget : public HbWidget
+// End of snippet 1
{
Q_OBJECT
@@ -28,9 +30,11 @@
HelloWorldWidget(QGraphicsItem *parent = 0, Qt::WindowFlags flags = 0);
~HelloWorldWidget();
+// Start of snippet 2
public slots:
void onShow();
void onHide();
+// End of snippet 2
private:
Q_DISABLE_COPY(HelloWorldWidget)