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

List:       kde-commits
Subject:    kdenonbeta/kopete/plugins/motionautoaway
From:       Helio Chissini de Castro <helio () conectiva ! com ! br>
Date:       2003-04-22 20:27:03
[Download RAW message or body]

CVS commit by helio: 

- Fixed compilation


  M +7 -7      motionawayplugin.cpp   1.18


--- kdenonbeta/kopete/plugins/motionautoaway/motionawayplugin.cpp  #1.17:1.18
@@ -115,9 +115,9 @@ MotionAwayPlugin::MotionAwayPlugin( QObj
         if (m_deviceHandler < 0)
         {
-                kdDebug(14305) << k_funcinfo k_funcinfo << "Can't open Video4Linux \
Device" << endl; +                kdDebug(14305) << k_funcinfo << "Can't open \
Video4Linux Device" << endl;  }
         else
         {
-        kdDebug(14305) k_funcinfo << "Worked! Setting Capture timers!" << endl;
+        kdDebug(14305) << k_funcinfo << "Worked! Setting Capture timers!" << endl;
                 /* Capture first image, or we will get a alarm on start */
                 getImage (m_deviceHandler, m_imageRef, DEF_WIDTH, DEF_HEIGHT, \
IN_DEFAULT, NORM_DEFAULT, @@ -135,7 +135,7 @@ MotionAwayPlugin::MotionAwayPlugin( \
QObj  MotionAwayPlugin::~MotionAwayPlugin()
 {
-    kdDebug(14305) k_funcinfo << "Closing Video4Linux Device" << endl;
+    kdDebug(14305) << k_funcinfo << "Closing Video4Linux Device" << endl;
         close (m_deviceHandler);
-        kdDebug(14305) k_funcinfo << "Freeing memory" << endl;
+        kdDebug(14305) << k_funcinfo << "Freeing memory" << endl;
 }
 
@@ -236,5 +236,5 @@ void MotionAwayPlugin::slotCapture()
                 if (diffs > m_maxChanges)
                 {
-            kdDebug(14305) k_funcinfo << "Motion Detected. [" << diffs << "] \
Reseting Timeout" << endl; +            kdDebug(14305) << k_funcinfo << "Motion \
Detected. [" << diffs << "] Reseting Timeout" << endl;  
                         /* If we were away, now we are available again */
@@ -266,5 +266,5 @@ void MotionAwayPlugin::slotCapture()
 void MotionAwayPlugin::slotActivity()
 {
-        kdDebug(14305) k_funcinfo << "User activity!, going available" << endl;
+        kdDebug(14305) << k_funcinfo << "User activity!, going available" << endl;
         m_wentAway = false;
         KopeteAccountManager::manager()->setAvailableAll();
@@ -275,5 +275,5 @@ void MotionAwayPlugin::slotTimeout()
         if(!KopeteAway::globalAway() && !m_wentAway)
         {
-                kdDebug(14305) k_funcinfo << "Timeout and no user activity, going \
away" << endl; +                kdDebug(14305) << k_funcinfo << "Timeout and no user \
activity, going away" << endl;  m_wentAway = true;
                 KopeteAccountManager::manager()->setAwayAll();


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

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