summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--examples/applet/simpleimpl.cpp3
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* ) {
66 tr("<qt>This Plugin does not yet support anything usefule aye.</qt>"), 66 tr("<qt>This Plugin does not yet support anything usefule aye.</qt>"),
67 QMessageBox::Ok ); 67 QMessageBox::Ok );
68 68
69} 69}
70 70
71void SimpleApplet::paintEvent( QPaintEvent* ) { 71void SimpleApplet::paintEvent( QPaintEvent* ) {
72 QPainter p(this); 72 QPainter p(this);
73 73
74 /* simpy draw the pixmap from the start of this widget */ 74 /* simpy draw the pixmap from the start of this widget */
75 p.drawPixmap(0, 0, *m_pix ); 75 p.drawPixmap(0, 0, *m_pix );
76} 76}
77 77
78/* 78/*
79 * We need to add this symbol for the plugin exporter! 79 * We need to add this symbol for the plugin exporter!
80 */ 80 */
81int SimpleApplet::position(){ 81int SimpleApplet::position(){
82 return 1; 82 return 1;
83} 83}
84 84
85 85
86 86
87/* 87/*
88 * Here comes the implementation of the interface 88 * Here comes the implementation of the interface
89 */ 89 */
90EXPORT_OPIE_APPLET_v1( SimpleApplet ) \ No newline at end of file 90EXPORT_OPIE_APPLET_v1( SimpleApplet )
91