author | zecke <zecke> | 2004-09-10 11:46:08 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-10 11:46:08 (UTC) |
commit | e2fa8fdfff6bb0460350d5f1017ead99deea7a0b (patch) (side-by-side diff) | |
tree | 1a4513b5959514a4b33ead8f4970abc2ab37cb19 | |
parent | 5f85bf8c95f2c9f1ca6b784d3adbbcad396a16fa (diff) | |
download | opie-e2fa8fdfff6bb0460350d5f1017ead99deea7a0b.zip opie-e2fa8fdfff6bb0460350d5f1017ead99deea7a0b.tar.gz opie-e2fa8fdfff6bb0460350d5f1017ead99deea7a0b.tar.bz2 |
Add new line at the end
-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 @@ -59,32 +59,33 @@ SimpleApplet::~SimpleApplet() { * useful. If you want to show a widget at the top left * of your icon you need to map your rect().topLeft() to * global with mapToGlobal(). Then you might also need to * move the widgets so it is visible */ void SimpleApplet::mousePressEvent(QMouseEvent* ) { QMessageBox::information(this, tr("No action taken"), 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 + |