From e34eef8e2f2a36797ef980d505a99948f88a5df2 Mon Sep 17 00:00:00 2001 From: cniehaus Date: Mon, 30 Dec 2002 19:33:56 +0000 Subject: add a const --- (limited to 'noncore/apps/oxygen') diff --git a/noncore/apps/oxygen/psewidget.cpp b/noncore/apps/oxygen/psewidget.cpp index b396046..4f990b0 100644 --- a/noncore/apps/oxygen/psewidget.cpp +++ b/noncore/apps/oxygen/psewidget.cpp @@ -58,7 +58,7 @@ PSEWidget::PSEWidget(const QStringList &list) : QWidget() vlay->addWidget( oxyDW ); } -QColor PSEWidget::PSEColor( QString block ) +QColor PSEWidget::PSEColor( QString block ) const { QColor c; if ( block == "s" ) c.setRgb( 213 , 233 , 231 ); diff --git a/noncore/apps/oxygen/psewidget.h b/noncore/apps/oxygen/psewidget.h index 42a2e38..ad40cf1 100644 --- a/noncore/apps/oxygen/psewidget.h +++ b/noncore/apps/oxygen/psewidget.h @@ -44,7 +44,7 @@ class PSEWidget : public QWidget QGridLayout *maingrid; void position( int, int&, int& ); - QColor PSEColor( QString ); + QColor PSEColor( QString ) const; QStringList names; public slots: -- cgit v0.9.0.2