[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeedu/kig/misc
From:       Dominique Devriese <devriese () kde ! org>
Date:       2004-05-24 19:30:46
Message-ID: 20040524193046.1483C1265C () office ! kde ! org
[Download RAW message or body]

CVS commit by domi: 

patch from Pino: add a getColor method to KigPainter


  M +5 -0      kigpainter.cpp   1.55
  M +2 -0      kigpainter.h   1.30


--- kdeedu/kig/misc/kigpainter.cpp  #1.54:1.55
@@ -254,4 +254,9 @@ void KigPainter::setBrushColor( const QC
 }
 
+QColor KigPainter::getColor() const
+{
+  return color;
+}
+
 static void setContains( QRect& r, const QPoint& p )
 {

--- kdeedu/kig/misc/kigpainter.h  #1.29:1.30
@@ -103,4 +103,6 @@ public:
   void setBrushColor( const QColor& c );
 
+  QColor getColor() const;
+
   double pixelWidth();
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic