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

List:       kde-commits
Subject:    KDE/kdewebdev/quanta
From:       Laurent Montel <montel () kde ! org>
Date:       2008-03-11 21:41:19
Message-ID: 1205271679.184868.9998.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 784617 by mlaurent:

Deprecated--


 M  +5 -5      lib/node.cpp  
 M  +1 -1      plugins/usertoolbars/usertoolbarspart.cpp  


--- trunk/KDE/kdewebdev/quanta/lib/node.cpp #784616:784617
@@ -46,7 +46,7 @@
     nodes.append(this);
   else
   {
-    kError(24000) << "A node with this address " << this << " already exists!" << \
endl;  +    kError(24000) << "A node with this address " << this << " already \
exists!";   }
 }
 
@@ -55,7 +55,7 @@
 {
   if (nodes.contains(this) == 0)
   {     
-    kError(24000) << "No node with this address " << this << " was allocated!" << \
endl;  +    kError(24000) << "No node with this address " << this << " was \
allocated!";   return;
   }
  // kDebug(24000) << "Node destructor " << this << tag->name;
@@ -96,7 +96,7 @@
     return;
   if (nodes.contains(this) == 0)
   {     
-    kdError(24000) << "No node with this address " << this << " was allocated!" << \
endl;  +    kError(24000) << "No node with this address " << this << " was \
allocated!";   return;
   }
   m_groupStorage = groupStorage;
@@ -484,14 +484,14 @@
     else
       output+= node->tag->tagStr().replace('\n'," ");
     kDebug(24000) << output <<" (" << node->tag->type() << ") at pos " <<
-            bLine << ":" << bCol << " - " << eLine << ":" << eCol << " This: "<< \
node << " Parent: " << node->parent << " Prev: " << node->prev << " Next: " << \
node->next << " Child: " << node->child << endl; +            bLine << ":" << bCol << \
" - " << eLine << ":" << eCol << " This: "<< node << " Parent: " << node->parent << " \
Prev: " << node->prev << " Next: " << node->next << " Child: " << node->child;  /*    \
for(j = 0; j < node->tag->attrCount(); j++)  {
                     kDebug(24000)<< " attr" << j << " " <<
                             node->tag->getAttribute(j).nameLine << ":" <<
                             node->tag->getAttribute(j).nameCol << " - " <<
                             node->tag->getAttribute(j).valueLine << ":" <<
-                            node->tag->getAttribute(j).valueCol << endl;
+                            node->tag->getAttribute(j).valueCol;
             }
 */
     if (node->child)
--- trunk/KDE/kdewebdev/quanta/plugins/usertoolbars/usertoolbarspart.cpp \
#784616:784617 @@ -875,7 +875,7 @@
   QString error;
   int el, ec;
   if (!dom->setContent(s, &error, &el, &ec))
-      kError(24000) << QString("Error %1 at (%2, \
%3)").arg(error).arg(el).arg(ec)<<endl; +      kError(24000) << QString("Error %1 at \
(%2, %3)").arg(error).arg(el).arg(ec);  p_toolbar->dom = dom;
 
   QTextStream bufferStr(&buffer);


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

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