author | llornkcor <llornkcor> | 2003-05-26 05:10:34 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-05-26 05:10:34 (UTC) |
commit | 71b76a1c9144b1d844774e1b8175e16f5c0a64dc (patch) (side-by-side diff) | |
tree | 2b39a37c673ad609bc58df3ea0ab9f2e782b0a25 | |
parent | 410f657febc2951dbe7d10b30294a4529bd6ac0e (diff) | |
download | opie-71b76a1c9144b1d844774e1b8175e16f5c0a64dc.zip opie-71b76a1c9144b1d844774e1b8175e16f5c0a64dc.tar.gz opie-71b76a1c9144b1d844774e1b8175e16f5c0a64dc.tar.bz2 |
remove extra includes
-rw-r--r-- | core/applets/restartapplet/restart.cpp | 5 |
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,77 +1,72 @@ /********************************************************************** ** Copyright (C) 2002 L.J. Potter ljp@llornkcor.com ** All rights reserved. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** **********************************************************************/ #include "restart.h" -#include <qpe/resource.h> -#include <qpe/qpeapplication.h> #include <qpe/qcopenvelope_qws.h> -#include <qpe/resource.h> #include <qpainter.h> -#include <qpixmap.h> -#include <qdatastream.h> /* XPM */ static char *restart_xpm[] = { "16 16 11 1", " c None", ". c #000000", "+ c #DCDCDC", "@ c #A0A0A0", "# c #C3C3C3", "$ c #808080", "% c #FFA858", "& c #FFDCA8", "* c #FFFFC0", "= c #FFFFFF", "- c #585858", " .. ", " .. .++. .. ", " .+@.@##@.@+. ", " .@+$@%%@$+@. ", " .$%%&%&%$. ", " ..+@%&$$%&@+.. ", ".+#@%&%@@&*%@#+.", ".$@+$&*&&=*$+@$.", " .--+$&*=&$+--. ", " .$#++$$++#$. ", " .@=$-$++$-$=@. ", " .+@-..@@..-@+. ", " ... .+=. ... ", " .-$. ", " .. ", " "}; RestartApplet::RestartApplet( QWidget *parent, const char *name ) : QWidget( parent, name ) { setFixedHeight( 18 ); setFixedWidth( 16 ); qDebug("new restartapplet"); show(); } RestartApplet::~RestartApplet() { } void RestartApplet::mousePressEvent( QMouseEvent *) { QCopEnvelope e("QPE/System", "restart()"); } void RestartApplet::paintEvent( QPaintEvent* ) { QPainter p(this); qDebug("paint RESTART pixmap"); p.drawPixmap( 0, 1, ( const char** ) restart_xpm ); } |