Diffstat (limited to 'core/applets/screenshotapplet/screenshot.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/screenshotapplet/screenshot.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/applets/screenshotapplet/screenshot.cpp b/core/applets/screenshotapplet/screenshot.cpp index 20e1c9b..9aa012a 100644 --- a/core/applets/screenshotapplet/screenshot.cpp +++ b/core/applets/screenshotapplet/screenshot.cpp | |||
@@ -36,12 +36,13 @@ | |||
36 | #include <sys/socket.h> | 36 | #include <sys/socket.h> |
37 | #include <netinet/in.h> | 37 | #include <netinet/in.h> |
38 | #include <netdb.h> | 38 | #include <netdb.h> |
39 | #include <unistd.h> | 39 | #include <unistd.h> |
40 | 40 | ||
41 | /* XPM */ | 41 | /* XPM */ |
42 | using namespace Opie::Ui; | ||
42 | static char * snapshot_xpm[] = { | 43 | static char * snapshot_xpm[] = { |
43 | "32 32 177 2", | 44 | "32 32 177 2", |
44 | " c None", | 45 | " c None", |
45 | ". c #042045", | 46 | ". c #042045", |
46 | "+ c #0D2B47", | 47 | "+ c #0D2B47", |
47 | "@ c #0E325E", | 48 | "@ c #0E325E", |
@@ -533,11 +534,9 @@ void ScreenshotApplet::mousePressEvent( QMouseEvent *) | |||
533 | void ScreenshotApplet::paintEvent( QPaintEvent* ) | 534 | void ScreenshotApplet::paintEvent( QPaintEvent* ) |
534 | { | 535 | { |
535 | QPainter p ( this ); | 536 | QPainter p ( this ); |
536 | p.drawPixmap( 0,0, m_icon ); | 537 | p.drawPixmap( 0,0, m_icon ); |
537 | } | 538 | } |
538 | 539 | ||
539 | Q_EXPORT_INTERFACE() | 540 | |
540 | { | 541 | EXPORT_OPIE_APPLET_v1( ScreenshotApplet ) |
541 | Q_CREATE_INSTANCE( OTaskbarAppletWrapper<ScreenshotApplet> ); | ||
542 | } | ||
543 | 542 | ||