summaryrefslogtreecommitdiffstats
path: root/kresources/lib/webdavhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/lib/webdavhandler.cpp')
-rw-r--r--kresources/lib/webdavhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kresources/lib/webdavhandler.cpp b/kresources/lib/webdavhandler.cpp
index 180740662..0eb2144fa 100644
--- a/kresources/lib/webdavhandler.cpp
+++ b/kresources/lib/webdavhandler.cpp
@@ -120,7 +120,7 @@ bool WebdavHandler::extractDateTime( const TQDomElement &node, const TQString &e
{
TQDomElement element = node.namedItem( entry ).toElement();
if ( !element.isNull() && !element.text().isEmpty() ) {
- value = TQDateTime::fromString( element.text(), Qt::ISODate );
+ value = TQDateTime::fromString( element.text(), TQt::ISODate );
return true;
}
return false;
@@ -154,10 +154,10 @@ bool WebdavHandler::extractStringList( const TQDomElement &node, const TQString
const TQString WebdavHandler::getEtagFromHeaders( const TQString& headers )
{
- int start = headers.find( "etag:", 0, false );
+ int start = headers.tqfind( "etag:", 0, false );
if ( start < 0 ) return TQString();
start += 6;
- return headers.mid( start, headers.find( "\n", start ) - start );
+ return headers.mid( start, headers.tqfind( "\n", start ) - start );
}
//TODO: should not call libical functions directly -- better to make