summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/restartapplet/restart.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/applets/restartapplet/restart.cpp b/core/applets/restartapplet/restart.cpp
index 9ecba04..226c2a8 100644
--- a/core/applets/restartapplet/restart.cpp
+++ b/core/applets/restartapplet/restart.cpp
@@ -1,72 +1,67 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2002 L.J. Potter ljp@llornkcor.com 2** Copyright (C) 2002 L.J. Potter ljp@llornkcor.com
3** All rights reserved. 3** All rights reserved.
4** 4**
5** This file may be distributed and/or modified under the terms of the 5** This file may be distributed and/or modified under the terms of the
6** GNU General Public License version 2 as published by the Free Software 6** GNU General Public License version 2 as published by the Free Software
7** Foundation and appearing in the file LICENSE.GPL included in the 7** Foundation and appearing in the file LICENSE.GPL included in the
8** packaging of this file. 8** packaging of this file.
9** 9**
10** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 10** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
11** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
12** 12**
13**********************************************************************/ 13**********************************************************************/
14 14
15#include "restart.h" 15#include "restart.h"
16 16
17#include <qpe/resource.h>
18#include <qpe/qpeapplication.h>
19 17
20#include <qpe/qcopenvelope_qws.h> 18#include <qpe/qcopenvelope_qws.h>
21#include <qpe/resource.h>
22#include <qpainter.h> 19#include <qpainter.h>
23#include <qpixmap.h>
24#include <qdatastream.h>
25 20
26 21
27/* XPM */ 22/* XPM */
28static char *restart_xpm[] = { 23static char *restart_xpm[] = {
29"16 16 11 1", 24"16 16 11 1",
30" c None", 25" c None",
31". c #000000", 26". c #000000",
32"+ c #DCDCDC", 27"+ c #DCDCDC",
33"@ c #A0A0A0", 28"@ c #A0A0A0",
34"# c #C3C3C3", 29"# c #C3C3C3",
35"$ c #808080", 30"$ c #808080",
36"% c #FFA858", 31"% c #FFA858",
37"& c #FFDCA8", 32"& c #FFDCA8",
38"* c #FFFFC0", 33"* c #FFFFC0",
39"= c #FFFFFF", 34"= c #FFFFFF",
40"- c #585858", 35"- c #585858",
41" .. ", 36" .. ",
42" .. .++. .. ", 37" .. .++. .. ",
43" .+@.@##@.@+. ", 38" .+@.@##@.@+. ",
44" .@+$@%%@$+@. ", 39" .@+$@%%@$+@. ",
45" .$%%&%&%$. ", 40" .$%%&%&%$. ",
46" ..+@%&$$%&@+.. ", 41" ..+@%&$$%&@+.. ",
47".+#@%&%@@&*%@#+.", 42".+#@%&%@@&*%@#+.",
48".$@+$&*&&=*$+@$.", 43".$@+$&*&&=*$+@$.",
49" .--+$&*=&$+--. ", 44" .--+$&*=&$+--. ",
50" .$#++$$++#$. ", 45" .$#++$$++#$. ",
51" .@=$-$++$-$=@. ", 46" .@=$-$++$-$=@. ",
52" .+@-..@@..-@+. ", 47" .+@-..@@..-@+. ",
53" ... .+=. ... ", 48" ... .+=. ... ",
54" .-$. ", 49" .-$. ",
55" .. ", 50" .. ",
56" "}; 51" "};
57RestartApplet::RestartApplet( QWidget *parent, const char *name ) 52RestartApplet::RestartApplet( QWidget *parent, const char *name )
58 : QWidget( parent, name ) { 53 : QWidget( parent, name ) {
59 setFixedHeight( 18 ); 54 setFixedHeight( 18 );
60 setFixedWidth( 16 ); 55 setFixedWidth( 16 );
61 qDebug("new restartapplet"); 56 qDebug("new restartapplet");
62 show(); 57 show();
63} 58}
64 59
65RestartApplet::~RestartApplet() { 60RestartApplet::~RestartApplet() {
66} 61}
67 62
68void RestartApplet::mousePressEvent( QMouseEvent *) { 63void RestartApplet::mousePressEvent( QMouseEvent *) {
69 QCopEnvelope e("QPE/System", "restart()"); 64 QCopEnvelope e("QPE/System", "restart()");
70} 65}
71 66
72void RestartApplet::paintEvent( QPaintEvent* ) { 67void RestartApplet::paintEvent( QPaintEvent* ) {