Diffstat (limited to 'noncore/apps/oxygen/oxyframe.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/oxyframe.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/oxygen/oxyframe.cpp b/noncore/apps/oxygen/oxyframe.cpp index d459d2b..2d7fc84 100644 --- a/noncore/apps/oxygen/oxyframe.cpp +++ b/noncore/apps/oxygen/oxyframe.cpp | |||
@@ -10,15 +10,16 @@ | |||
10 | 10 | ||
11 | #include <qpe/config.h> | 11 | #include <qpe/config.h> |
12 | #include "oxyframe.h" | 12 | #include "oxyframe.h" |
13 | 13 | ||
14 | OxyFrame::OxyFrame(QWidget *parent, const char *name) : QFrame(parent,name) | 14 | OxyFrame::OxyFrame(QWidget *parent, const char *name) : QFrame(parent,name) |
15 | { | 15 | { |
16 | N = name; | ||
16 | this->setFrameStyle( QFrame::Panel ); | 17 | this->setFrameStyle( QFrame::Panel ); |
17 | this->setLineWidth( 2 ); | 18 | this->setLineWidth( 2 ); |
18 | this->setFrameShadow( QFrame::Raised ); | 19 | this->setFrameShadow( QFrame::Raised ); |
19 | this->setBackgroundColor( QColor( cyan ) ); | 20 | this->setBackgroundColor( QColor( green ) ); |
20 | } | 21 | } |
21 | 22 | ||
22 | void OxyFrame::mousePressEvent ( QMouseEvent * e ){ | 23 | void OxyFrame::mousePressEvent ( QMouseEvent * e ){ |
23 | emit clicked(); | 24 | emit num( N ); |
24 | }; | 25 | }; |