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

List:       kde-commits
Subject:    kdenonbeta/ksynaptics/src
From:       Stefan Kombrink <katakombi () web ! de>
Date:       2004-09-22 9:01:19
Message-ID: 20040922090119.0C41A126E0 () office ! kde ! org
[Download RAW message or body]

CVS commit by katakombi: 

+included kdDebug msg / removed <iostream>
#


  M +2 -2      ksynaptics.cpp   1.10
  M +7 -7      syntp.cpp   1.6


--- kdenonbeta/ksynaptics/src/ksynaptics.cpp  #1.9:1.10
@@ -46,5 +46,4 @@
 #include <kdebug.h>
 #include <unistd.h>
-#include <iostream>
 
 typedef KGenericFactory<ksynaptics, QWidget> ksynapticsFactory;
@@ -399,5 +398,6 @@ void ksynaptics::load()
 {
 
-    std::cout <<  "OIHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH RESET!" << std::endl;
+    kdDebug() <<  "load()" << endl;
+    
     // insert your loading code here...  
     

--- kdenonbeta/ksynaptics/src/syntp.cpp  #1.5:1.6
@@ -23,5 +23,5 @@
 #include "syntp.h"
 
-#include <iostream>
+#include <kdebug.h> 
 
 
@@ -218,5 +218,5 @@ void SynTouchPad::readConfig()
             
             cfgHWSettings->writeEntry(token,(unsigned int)(atof(value.ascii())*factor));
-            //std::cout << token << "=" << value << std::endl;
+            kdDebug() << token << "=" << value << endl;
         }
         
@@ -258,5 +258,5 @@ bool SynTouchPad::settingsChanged()
 void SynTouchPad::applyConfig()
 {
-    std::cout << "saving user settings" << std::endl;
+    kdDebug() << "saving user settings" << endl;
     cfgSettings->sync();
     
@@ -317,5 +317,5 @@ void SynTouchPad::applyConfig()
     for (it = param.begin(); it != param.end(); it++)
     {
-        std::cout << "new " << it.key() << " is " << it.data() << std::endl;
+        kdDebug() << "new " << it.key() << " is " << it.data() << endl;
 
         // skip the loop if there is a custom parameter
@@ -345,5 +345,5 @@ void SynTouchPad::cancelConfig()
 int SynTouchPad::getParameter(QString paramName)
 {
-    std::cout << "read " << paramName << std::endl;
+    kdDebug() << "read " << paramName << endl;
     return cfgSettings->readUnsignedNumEntry(paramName);
 }
@@ -353,6 +353,6 @@ bool SynTouchPad::setParameter(QString p
 {
     bool existed = (cfgSettings->hasKey(paramName));
-    std::cout << "write " << paramName << "=" << param << std::endl;
-    if (!existed) std::cout << "(new)";
+    kdDebug() << "write " << paramName << "=" << param << endl;
+    if (!existed) kdDebug() << "(new)";
     cfgSettings->writeEntry(paramName,(int)param);
     return existed;


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

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