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

List:       kde-commits
Subject:    KDE/kdepim/kresources/groupwise/soap
From:       David Jarvie <software () astrojar ! org ! uk>
Date:       2007-07-18 0:01:59
Message-ID: 1184716919.356795.21435.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 689250 by djarvie:

Remove deprecated call Incidence::setDtEnd(QDateTime)

 M  +4 -3      incidenceconverter.cpp  


--- trunk/KDE/kdepim/kresources/groupwise/soap/incidenceconverter.cpp \
#689249:689250 @@ -71,7 +71,8 @@
       event->setDtStart( QDateTime::fromString( QString::fromUtf8( \
appointment->startDay->c_str() ), Qt::ISODate ) );  
     if ( appointment->endDay != 0 )
-      event->setDtEnd( QDateTime::fromString( QString::fromUtf8( \
appointment->endDay->c_str() ), Qt::ISODate ).addDays( -1 ) ); +//TODO: Use \
KDateTime::fromString()? +      event->setDtEnd( KDateTime( \
QDateTime::fromString( QString::fromUtf8( appointment->endDay->c_str() ), \
Qt::ISODate ), mTimezone ).addDays( -1 ) );  kDebug() << " all day event." \
<< endl;  }
   else
@@ -79,10 +80,10 @@
     event->setFloats( false );
 
     if ( appointment->startDate != 0 )
-      event->setDtStart( charToQDateTime( appointment->startDate, \
mTimezone ) ); +      event->setDtStart( charToKDateTime( \
appointment->startDate, mTimezone ) );  
     if ( appointment->endDate != 0 )
-      event->setDtEnd( charToQDateTime( appointment->endDate, mTimezone ) \
); +      event->setDtEnd( charToKDateTime( appointment->endDate, mTimezone \
) );  }
 
   kDebug() << "start date: " << event->dtStart() << endl;


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

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