Diffstat (limited to 'core/applets/restartapplet/restart.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/restartapplet/restart.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/applets/restartapplet/restart.cpp b/core/applets/restartapplet/restart.cpp index 226c2a8..2e17608 100644 --- a/core/applets/restartapplet/restart.cpp +++ b/core/applets/restartapplet/restart.cpp | |||
@@ -50,23 +50,21 @@ static char *restart_xpm[] = { | |||
50 | " .. ", | 50 | " .. ", |
51 | " "}; | 51 | " "}; |
52 | RestartApplet::RestartApplet( QWidget *parent, const char *name ) | 52 | RestartApplet::RestartApplet( QWidget *parent, const char *name ) |
53 | : QWidget( parent, name ) { | 53 | : QWidget( parent, name ) { |
54 | setFixedHeight( 18 ); | 54 | setFixedHeight( 18 ); |
55 | setFixedWidth( 16 ); | 55 | setFixedWidth( 16 ); |
56 | qDebug("new restartapplet"); | ||
57 | show(); | 56 | show(); |
58 | } | 57 | } |
59 | 58 | ||
60 | RestartApplet::~RestartApplet() { | 59 | RestartApplet::~RestartApplet() { |
61 | } | 60 | } |
62 | 61 | ||
63 | void RestartApplet::mousePressEvent( QMouseEvent *) { | 62 | void RestartApplet::mousePressEvent( QMouseEvent *) { |
64 | QCopEnvelope e("QPE/System", "restart()"); | 63 | QCopEnvelope e("QPE/System", "restart()"); |
65 | } | 64 | } |
66 | 65 | ||
67 | void RestartApplet::paintEvent( QPaintEvent* ) { | 66 | void RestartApplet::paintEvent( QPaintEvent* ) { |
68 | QPainter p(this); | 67 | QPainter p(this); |
69 | qDebug("paint RESTART pixmap"); | ||
70 | p.drawPixmap( 0, 1, ( const char** ) restart_xpm ); | 68 | p.drawPixmap( 0, 1, ( const char** ) restart_xpm ); |
71 | } | 69 | } |
72 | 70 | ||