summaryrefslogtreecommitdiff
path: root/noncore/apps/oxygen/oxyframe.cpp
authorcniehaus <cniehaus>2002-09-19 20:47:36 (UTC)
committer cniehaus <cniehaus>2002-09-19 20:47:36 (UTC)
commit65ba4e3610c94ba1de71a41dd6bf69662555e206 (patch) (unidiff)
tree696c3d7317a3c5a13f14160d9281fe4e889cf5bc /noncore/apps/oxygen/oxyframe.cpp
parentf4162d2283ebf0327645e0ac66b539cf87565d0b (diff)
downloadopie-65ba4e3610c94ba1de71a41dd6bf69662555e206.zip
opie-65ba4e3610c94ba1de71a41dd6bf69662555e206.tar.gz
opie-65ba4e3610c94ba1de71a41dd6bf69662555e206.tar.bz2
* codecleanup
* adding some const * if you click on a "element" you will now really get the information * removed obsolete class
Diffstat (limited to 'noncore/apps/oxygen/oxyframe.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/oxygen/oxyframe.cpp5
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
@@ -13,12 +13,13 @@
13 13
14OxyFrame::OxyFrame(QWidget *parent, const char *name) : QFrame(parent,name) 14OxyFrame::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
22void OxyFrame::mousePressEvent ( QMouseEvent * e ){ 23void OxyFrame::mousePressEvent ( QMouseEvent * e ){
23 emit clicked(); 24 emit num( N );
24}; 25};