author | llornkcor <llornkcor> | 2002-07-24 17:24:49 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-24 17:24:49 (UTC) |
commit | 2d9c74a4995a949378b36469ae5c6ab77963bead (patch) (unidiff) | |
tree | 2c304cddd6eeaee35d887d2fc9e52241c24abcf5 /core/applets/restartapplet/restart.h | |
parent | 9e126f7ed2f73b26ef440c1cc54d0dc0e6308f68 (diff) | |
download | opie-2d9c74a4995a949378b36469ae5c6ab77963bead.zip opie-2d9c74a4995a949378b36469ae5c6ab77963bead.tar.gz opie-2d9c74a4995a949378b36469ae5c6ab77963bead.tar.bz2 |
simple developers tool for a taskbar icon to restart opie
Diffstat (limited to 'core/applets/restartapplet/restart.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/restartapplet/restart.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/core/applets/restartapplet/restart.h b/core/applets/restartapplet/restart.h new file mode 100644 index 0000000..e0c2158 --- a/dev/null +++ b/core/applets/restartapplet/restart.h | |||
@@ -0,0 +1,43 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2002 L.J. Potter ljp@llornkcor.com | ||
3 | ** All rights reserved. | ||
4 | ** | ||
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 | ||
7 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
8 | ** packaging of this file. | ||
9 | ** | ||
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. | ||
12 | ** | ||
13 | **********************************************************************/ | ||
14 | |||
15 | #ifndef __RESTART_APPLET_H__ | ||
16 | #define __RESTART_APPLET_H__ | ||
17 | |||
18 | #include <qwidget.h> | ||
19 | #include <qframe.h> | ||
20 | #include <qpixmap.h> | ||
21 | #include <qguardedptr.h> | ||
22 | |||
23 | class RestartApplet : public QWidget | ||
24 | { | ||
25 | Q_OBJECT | ||
26 | public: | ||
27 | RestartApplet( QWidget *parent = 0, const char *name=0 ); | ||
28 | ~RestartApplet(); | ||
29 | public slots: | ||
30 | private: | ||
31 | void mousePressEvent( QMouseEvent * ); | ||
32 | void paintEvent( QPaintEvent* ); | ||
33 | |||
34 | private: | ||
35 | // QPixmap snapshotPixmap; | ||
36 | private slots: | ||
37 | |||
38 | |||
39 | }; | ||
40 | |||
41 | |||
42 | #endif // __RESTART_APPLET_H__ | ||
43 | |||