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

List:       kde-commits
Subject:    kdeedu/kmplot/kmplot
From:       Fredrik Edemar <f_edemar () linux ! se>
Date:       2004-11-02 19:20:41
Message-ID: 20041102192041.9447716C67 () office ! kde ! org
[Download RAW message or body]

CVS commit by fedemar: 

Fix function arguments: QColor -> const QColor &


  M +4 -4      parseriface.h   1.3
  M +4 -4      xparser.cpp   1.32
  M +4 -4      xparser.h   1.31


--- kdeedu/kmplot/kmplot/parseriface.h  #1.2:1.3
@@ -61,8 +61,8 @@ k_dcop:
         virtual QColor functionF2Color(uint id) = 0;
         virtual QColor functionIntColor(uint id) = 0;
-        virtual bool setFunctionFColor(QColor color, uint id) = 0;
-        virtual bool setFunctionF1Color(QColor color, uint id) = 0;
-        virtual bool setFunctionF2Color(QColor color, uint id) = 0;
-        virtual bool setFunctionIntColor(QColor color, uint id) = 0;
+        virtual bool setFunctionFColor(const QColor &color, uint id) = 0;
+        virtual bool setFunctionF1Color(const QColor &color, uint id) = 0;
+        virtual bool setFunctionF2Color(const QColor &color, uint id) = 0;
+        virtual bool setFunctionIntColor(const QColor &color, uint id) = 0;
         virtual int functionFLineWidth(uint id) = 0;
         virtual int functionF1LineWidth(uint id) = 0;

--- kdeedu/kmplot/kmplot/xparser.cpp  #1.31:1.32
@@ -398,5 +398,5 @@ QColor XParser::functionIntColor(uint id
         return QColor(ufkt[ix].integral_color);
 }
-bool XParser::setFunctionFColor(QColor color, uint id)
+bool XParser::setFunctionFColor(const QColor &color, uint id)
 {
         int const ix = ixValue(id);
@@ -407,5 +407,5 @@ bool XParser::setFunctionFColor(QColor c
         return true;
 }
-bool XParser::setFunctionF1Color(QColor color, uint id)
+bool XParser::setFunctionF1Color(const QColor &color, uint id)
 {
         int const ix = ixValue(id);
@@ -416,5 +416,5 @@ bool XParser::setFunctionF1Color(QColor 
         return true;
 }               
-bool XParser::setFunctionF2Color(QColor color, uint id)
+bool XParser::setFunctionF2Color(const QColor &color, uint id)
 {
         int const ix = ixValue(id);
@@ -425,5 +425,5 @@ bool XParser::setFunctionF2Color(QColor 
         return true;
 }
-bool XParser::setFunctionIntColor(QColor color, uint id)
+bool XParser::setFunctionIntColor(const QColor &color, uint id)
 {
         int const ix = ixValue(id);

--- kdeedu/kmplot/kmplot/xparser.h  #1.30:1.31
@@ -100,8 +100,8 @@ public:
         QColor functionF2Color(uint id);
         QColor functionIntColor(uint id);
-        bool setFunctionFColor(QColor color, uint id);
-        bool setFunctionF1Color(QColor color, uint id);
-        bool setFunctionF2Color(QColor color, uint id);
-        bool setFunctionIntColor(QColor color, uint id);
+        bool setFunctionFColor(const QColor &color, uint id);
+        bool setFunctionF1Color(const QColor &color, uint id);
+        bool setFunctionF2Color(const QColor &color, uint id);
+        bool setFunctionIntColor(const QColor &color, uint id);
         
         int functionFLineWidth(uint id);


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

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