-rw-r--r-- | examples/applet/simpleimpl.cpp | 1 |
1 files changed, 1 insertions, 0 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 @@ -67,24 +67,25 @@ void SimpleApplet::mousePressEvent(QMouseEvent* ) { 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 + |