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

List:       kde-commits
Subject:    kdepim/kresources/opengroupware
From:       Reinhold Kainhofer <reinhold () kainhofer ! com>
Date:       2004-12-12 12:39:20
Message-ID: 20041212123920.8CFC51BB7A () office ! kde ! org
[Download RAW message or body]

CVS commit by kainhofe: 

Add a static method to add a text node


  M +6 -0      webdavhandler.cpp   1.11
  M +3 -0      webdavhandler.h   1.6


--- kdepim/kresources/opengroupware/webdavhandler.cpp  #1.10:1.11
@@ -64,4 +64,10 @@ QDomElement WebdavHandler::addDavElement
   return el;
 }
+QDomText WebdavHandler::addTextNode( QDomDocument &doc, QDomNode &node, const QString &text )
+{
+  QDomText el = doc.createTextNode( text );
+  node.appendChild( el );
+  return el;
+}
 
 QDomDocument WebdavHandler::createItemsAndVersionsPropsRequest()

--- kdepim/kresources/opengroupware/webdavhandler.h  #1.5:1.6
@@ -43,4 +43,7 @@ class WebdavHandler
                                        const QString &tag,
                                        const QString &text = QString::null );
+    static QDomText addTextNode( QDomDocument &doc, 
+                                 QDomNode &node, const QString &text );
+    
     /** 
      * Creates a request body which asks for the standard properties. Used as a stat.


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

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