Diffstat (limited to 'noncore/apps/oxygen/oxyframe.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/oxyframe.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/apps/oxygen/oxyframe.cpp b/noncore/apps/oxygen/oxyframe.cpp index a5f262e..c61c8e5 100644 --- a/noncore/apps/oxygen/oxyframe.cpp +++ b/noncore/apps/oxygen/oxyframe.cpp | |||
@@ -1,25 +1,33 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | application: : Oxygen | ||
3 | |||
4 | begin : September 2002 | ||
5 | copyright : ( C ) 2002 by Carsten Niehaus | ||
6 | email : cniehaus@handhelds.org | ||
7 | **************************************************************************/ | ||
8 | |||
9 | /*************************************************************************** | ||
2 | * * | 10 | * * |
3 | * This program is free software; you can redistribute it and/or modify * | 11 | * This program is free software; you can redistribute it and/or modify * |
4 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
5 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * |
6 | * ( at your option ) any later version. * | 14 | * ( at your option ) any later version. * |
7 | * * | 15 | * * |
8 | **************************************************************************/ | 16 | **************************************************************************/ |
9 | #include "oxygen.h" | 17 | #include "oxygen.h" |
10 | 18 | ||
11 | #include <qpe/config.h> | 19 | #include <qpe/config.h> |
12 | #include "oxyframe.h" | 20 | #include "oxyframe.h" |
13 | 21 | ||
14 | OxyFrame::OxyFrame(QWidget *parent, const char *name) : QFrame(parent,name) | 22 | OxyFrame::OxyFrame(QWidget *parent, const char *name) : QFrame(parent,name) |
15 | { | 23 | { |
16 | N = name; | 24 | N = name; |
17 | this->setFrameStyle( QFrame::Box ); | 25 | this->setFrameStyle( QFrame::Box ); |
18 | this->setLineWidth( 0 ); | 26 | this->setLineWidth( 0 ); |
19 | this->setMidLineWidth( 1 ); | 27 | this->setMidLineWidth( 1 ); |
20 | this->setFrameShadow( QFrame::Sunken ); | 28 | this->setFrameShadow( QFrame::Sunken ); |
21 | } | 29 | } |
22 | 30 | ||
23 | void OxyFrame::mousePressEvent ( QMouseEvent * e ){ | 31 | void OxyFrame::mousePressEvent ( QMouseEvent * e ){ |
24 | emit num( N ); | 32 | emit num( N ); |
25 | }; | 33 | }; |