summaryrefslogtreecommitdiffstats
path: root/kresources/lib/groupwaredownloadjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/lib/groupwaredownloadjob.cpp')
-rw-r--r--kresources/lib/groupwaredownloadjob.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kresources/lib/groupwaredownloadjob.cpp b/kresources/lib/groupwaredownloadjob.cpp
index 5cf494b97..f363dbc20 100644
--- a/kresources/lib/groupwaredownloadjob.cpp
+++ b/kresources/lib/groupwaredownloadjob.cpp
@@ -229,9 +229,9 @@ void GroupwareDownloadJob::slotItemToDownload( const KURL &remoteURL,
{
KURL url( remoteURL );
adaptor()->adaptDownloadUrl( url );
- if ( !mItemsForDownload.tqcontains( url ) &&
- !mItemsDownloading.tqcontains( url ) &&
- !mItemsDownloaded.tqcontains( url ) ) {
+ if ( !mItemsForDownload.contains( url ) &&
+ !mItemsDownloading.contains( url ) &&
+ !mItemsDownloaded.contains( url ) ) {
mItemsForDownload.insert( url, type );
}
}
@@ -240,7 +240,7 @@ void GroupwareDownloadJob::slotItemToDownload( const KURL &remoteURL,
void GroupwareDownloadJob::slotItemOnServer( const KURL &remoteURL )
{
kdDebug()<<"GroupwareDownloadJob::slotItemOnServer( " << remoteURL.url() << ")" << endl;
- if ( !mCurrentlyOnServer.tqcontains( remoteURL ) ) {
+ if ( !mCurrentlyOnServer.contains( remoteURL ) ) {
mCurrentlyOnServer.append( remoteURL );
}
}
@@ -249,9 +249,9 @@ kdDebug()<<"GroupwareDownloadJob::slotItemOnServer( " << remoteURL.url() << ")"
void GroupwareDownloadJob::slotItemDownloadError( const KURL &remoteURL, const TQString &/*error*/ )
{
// TODO: Error handling!
- if ( mItemsDownloading.tqcontains( remoteURL ) ) {
+ if ( mItemsDownloading.contains( remoteURL ) ) {
mItemsDownloadError[ remoteURL ] = mItemsDownloading[ remoteURL ];
- } else if ( mItemsForDownload.tqcontains( remoteURL ) ) {
+ } else if ( mItemsForDownload.contains( remoteURL ) ) {
mItemsDownloadError[ remoteURL ] = mItemsForDownload[ remoteURL ];
}
}
@@ -261,15 +261,15 @@ void GroupwareDownloadJob::slotItemDownloaded( const TQString &localID,
const KURL &remoteURL, const TQString &fingerprint )
{
kdDebug()<<"GroupwareDownloadJob::slotItemDownloaded( " << localID << ", " << remoteURL.url() << ", " << fingerprint << ")" << endl;
- if ( mItemsForDownload.tqcontains( remoteURL ) ) {
+ if ( mItemsForDownload.contains( remoteURL ) ) {
mItemsDownloaded[ remoteURL ] = mItemsForDownload[ remoteURL ];
mItemsForDownload.remove( remoteURL );
}
- if ( mItemsDownloading.tqcontains( remoteURL ) ) {
+ if ( mItemsDownloading.contains( remoteURL ) ) {
mItemsDownloaded[ remoteURL ] = mItemsDownloading[ remoteURL ];
mItemsDownloading.remove( remoteURL );
}
- if ( !mItemsDownloaded.tqcontains( remoteURL ) ) {
+ if ( !mItemsDownloaded.contains( remoteURL ) ) {
mItemsDownloaded[ remoteURL ] = KPIM::FolderLister::Unknown;
}
adaptor()->idMapper()->setRemoteId( localID, remoteURL.path() );