From 65ba4e3610c94ba1de71a41dd6bf69662555e206 Mon Sep 17 00:00:00 2001 From: cniehaus Date: Thu, 19 Sep 2002 20:47:36 +0000 Subject: * codecleanup * adding some const * if you click on a "element" you will now really get the information * removed obsolete class --- (limited to 'noncore/apps/oxygen/oxyframe.cpp') 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 @@ OxyFrame::OxyFrame(QWidget *parent, const char *name) : QFrame(parent,name) { + N = name; this->setFrameStyle( QFrame::Panel ); this->setLineWidth( 2 ); this->setFrameShadow( QFrame::Raised ); - this->setBackgroundColor( QColor( cyan ) ); + this->setBackgroundColor( QColor( green ) ); } void OxyFrame::mousePressEvent ( QMouseEvent * e ){ - emit clicked(); + emit num( N ); }; -- cgit v0.9.0.2