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

List:       kde-commits
Subject:    KDE/kdepim/kresources/slox
From:       Volker Krause <volker.krause () rwth-aachen ! de>
Date:       2005-09-29 9:25:45
Message-ID: 1127985945.518609.3916.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 465264 by vkrause:

Compile & link.


 M  +2 -2      kabcresourceslox.cpp  
 M  +1 -1      kcalresourceslox.cpp  
 M  +2 -0      webdavhandler.cpp  


--- trunk/KDE/kdepim/kresources/slox/kabcresourceslox.cpp #465263:465264
@@ -345,7 +345,7 @@
 
   if ( tag == fieldName( Birthday ) ) {
     QDateTime dt = WebdavHandler::sloxToQDateTime( text );
-    a.setBirthday( dt.date() );
+    a.setBirthday( dt );
   } else if ( tag == fieldName( Role ) ) {
     a.setRole( text );
   } else if ( tag == "salutation" ) { // what's this in OX?
@@ -565,7 +565,7 @@
     QString anniversary = a.custom( "KADDRESSBOOK", "X-Anniversary" );
     if ( !anniversary.isEmpty() )
       WebdavHandler::addSloxElement( this, doc, prop, fieldName( Anniversary ),
-        WebdavHandler::qDateTimeToSlox( QDateTime::fromString( anniversary, Qt::ISODate ).date() ) );
+        WebdavHandler::qDateTimeToSlox( QDateTime::fromString( anniversary, Qt::ISODate ) ) );
     else
       WebdavHandler::addSloxElement( this, doc, prop, fieldName( Anniversary ) );
   }
--- trunk/KDE/kdepim/kresources/slox/kcalresourceslox.cpp #465263:465264
@@ -586,7 +586,7 @@
   DateList exlist = r->exDates();
   QStringList res;
   for ( DateList::Iterator it = exlist.begin(); it != exlist.end(); ++it )
-    res.append( WebdavHandler::qDateTimeToSlox( *it ) );
+    res.append( WebdavHandler::qDateTimeToSlox( QDateTime( *it ) ) );
   WebdavHandler::addSloxElement( this, doc, parent, fieldName( RecurrenceDelEx ), res.join( "," ) );
 }
 
--- trunk/KDE/kdepim/kresources/slox/webdavhandler.cpp #465263:465264
@@ -21,6 +21,8 @@
 #include "webdavhandler.h"
 #include "sloxbase.h"
 
+#include "config.h"
+
 #ifdef HAVE_VALUES_H
 #include <values.h>
 #else
[prev in list] [next in list] [prev in thread] [next in thread] 

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