-rw-r--r-- | examples/applet/simpleimpl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/applet/simpleimpl.cpp b/examples/applet/simpleimpl.cpp index 62d9bf7..ff651ca 100644 --- a/examples/applet/simpleimpl.cpp +++ b/examples/applet/simpleimpl.cpp @@ -66,25 +66,26 @@ void SimpleApplet::mousePressEvent(QMouseEvent* ) { tr("<qt>This Plugin does not yet support anything usefule aye.</qt>"), QMessageBox::Ok ); } void SimpleApplet::paintEvent( QPaintEvent* ) { QPainter p(this); /* simpy draw the pixmap from the start of this widget */ p.drawPixmap(0, 0, *m_pix ); } /* * We need to add this symbol for the plugin exporter! */ int SimpleApplet::position(){ return 1; } /* * Here comes the implementation of the interface */ -EXPORT_OPIE_APPLET_v1( SimpleApplet )
\ No newline at end of file +EXPORT_OPIE_APPLET_v1( SimpleApplet ) + |