summaryrefslogtreecommitdiffstats
path: root/kresources/slox/kcalresourceslox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/slox/kcalresourceslox.cpp')
-rw-r--r--kresources/slox/kcalresourceslox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kresources/slox/kcalresourceslox.cpp b/kresources/slox/kcalresourceslox.cpp
index 132f19ca1..cb477038c 100644
--- a/kresources/slox/kcalresourceslox.cpp
+++ b/kresources/slox/kcalresourceslox.cpp
@@ -213,7 +213,7 @@ void KCalResourceSlox::requestEvents()
}
TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "proptqfind" );
+ TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" );
TQDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" );
WebdavHandler::addSloxElement( this, doc, prop, fieldName( LastSync ), lastsync );
WebdavHandler::addSloxElement( this, doc, prop, fieldName( FolderId ), mPrefs->calendarFolderId() );
@@ -258,7 +258,7 @@ void KCalResourceSlox::requestTodos()
}
TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "proptqfind" );
+ TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" );
TQDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" );
WebdavHandler::addSloxElement( this, doc, prop, fieldName( LastSync ), lastsync );
WebdavHandler::addSloxElement( this, doc, prop, fieldName( FolderId ), mPrefs->taskFolderId() );
@@ -1113,7 +1113,7 @@ void KCalResourceSlox::slotUploadResult( KIO::Job *job )
if ( !status.isNull() ) {
TQDomElement statusElement = status.toElement();
TQString response = statusElement.text();
- if ( !response.tqcontains( "200" ) ) {
+ if ( !response.contains( "200" ) ) {
TQString error = "'" + mUploadedIncidence->summary() + "'\n";
error += response;
TQDomNode dn = propstat.namedItem( "responsedescription" );