diff options
Diffstat (limited to 'kresources/slox/webdavhandler.cpp')
-rw-r--r-- | kresources/slox/webdavhandler.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kresources/slox/webdavhandler.cpp b/kresources/slox/webdavhandler.cpp index 576def371..b010e0e92 100644 --- a/kresources/slox/webdavhandler.cpp +++ b/kresources/slox/webdavhandler.cpp @@ -129,9 +129,9 @@ TQValueList<SloxItem> WebdavHandler::getSloxItems( SloxBase *res, const TQDomDoc item.status = SloxItem::New; } - TQDomNode sloxStatus = prop.namedItem( res->fieldName( SloxBase::ObjecStatus ) ); - if ( !sloxStatus.isNull() ) { - TQDomElement sloxStatusElement = sloxStatus.toElement(); + TQDomNode sloxtqStatus = prop.namedItem( res->fieldName( SloxBase::ObjectqStatus ) ); + if ( !sloxtqStatus.isNull() ) { + TQDomElement sloxStatusElement = sloxtqStatus.toElement(); if ( sloxStatusElement.text() == "DELETE" ) { item.status = SloxItem::Delete; } else if ( sloxStatusElement.text() == "CREATE" ) { @@ -186,7 +186,7 @@ TQString WebdavHandler::qDateTimeToSlox( const TQDateTime &dt, return TQString::number( ticks ) + "000"; } -TQDateTime WebdavHandler::sloxToQDateTime( const TQString &str ) +TQDateTime WebdavHandler::sloxToTQDateTime( const TQString &str ) { TQString s = str.mid( 0, str.length() - 3 ); @@ -199,7 +199,7 @@ TQDateTime WebdavHandler::sloxToQDateTime( const TQString &str ) TQDateTime dt; if (preEpoch) { - dt.setTime_t( 0, Qt::UTC ); + dt.setTime_t( 0, TQt::UTC ); if (ticks > INT_MAX) { dt = dt.addSecs(-INT_MAX); ticks -= INT_MAX; @@ -208,16 +208,16 @@ TQDateTime WebdavHandler::sloxToQDateTime( const TQString &str ) } else { - dt.setTime_t( ticks, Qt::UTC ); + dt.setTime_t( ticks, TQt::UTC ); } return dt; } -TQDateTime WebdavHandler::sloxToQDateTime( const TQString &str, +TQDateTime WebdavHandler::sloxToTQDateTime( const TQString &str, const TQString &timeZoneId ) { - return KPimPrefs::utcToLocalTime( sloxToQDateTime(str), timeZoneId ); + return KPimPrefs::utcToLocalTime( sloxToTQDateTime(str), timeZoneId ); } TQDomElement WebdavHandler::addElement( TQDomDocument &doc, TQDomNode &node, @@ -276,7 +276,7 @@ void WebdavHandler::parseSloxAttribute( const TQDomElement &e ) } } -void WebdavHandler::clearSloxAttributeStatus() +void WebdavHandler::clearSloxAttributetqStatus() { if ( mRes->resType() == "ox" ) mWritable = true; // parseSloxAttribute() won't work for OX |